Now that docker hub is limiting the amount of calls that can be made it's getting more common for developers to use images from alternative repositories such as public.ecr.aws (see images in https://gallery.ecr.aws). I was hoping to use the Bitnami MySQL image from there so that the following:
new MySQLContainer("mysql:5.7")
.withUsername("username")
.withPassword("pass")
.withDatabaseName("testdb");
get replaces with:
new MySQLContainer("public.ecr.aws/bitnami/mysql:5.7")
.withUsername("username")
.withPassword("pass")
.withDatabaseName("testdb");
unfortunately org.testcontainers.containers.MySQLContainer won't work with this image, even though it's similar in configuration and could potentially be used instead of the image on docker hub.
Now that docker hub is limiting the amount of calls that can be made it's getting more common for developers to use images from alternative repositories such as public.ecr.aws (see images in https://gallery.ecr.aws). I was hoping to use the Bitnami MySQL image from there so that the following:
get replaces with:
unfortunately org.testcontainers.containers.MySQLContainer won't work with this image, even though it's similar in configuration and could potentially be used instead of the image on docker hub.