Module
PostgreSQL
Testcontainers version
1.17.6
Using the latest Testcontainers version?
Yes
Host OS
n/a
Host Arch
n/a
Docker version
What happened?
Trying to use fully qualified names makes Testcontainers think it's an incompatible image
Relevant log output
IllegalStateException: Failed to verify that image 'docker.io/postgres:16-alpine' is a compatible substitute for 'postgres'.
IllegalStateException: Failed to verify that image 'docker.io/library/postgres:16-alpine' is a compatible substitute for 'postgres'.
IllegalStateException: Failed to verify that image 'library/postgres:16-alpine' is a compatible substitute for 'postgres'.
Additional Information
Testcontainers should be using docker.io/library/postgres as the actual expected image name.
Shorthand image names should be handled by adding the default docker.io/library/ prefix
Module
PostgreSQL
Testcontainers version
1.17.6
Using the latest Testcontainers version?
Yes
Host OS
n/a
Host Arch
n/a
Docker version
What happened?
Trying to use fully qualified names makes Testcontainers think it's an incompatible image
Relevant log output
Additional Information
Testcontainers should be using
docker.io/library/postgresas the actual expected image name.Shorthand image names should be handled by adding the default
docker.io/library/prefix