-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
Description
Module
PostgreSQL
Testcontainers version
1.17.6
Using the latest Testcontainers version?
Yes
Host OS
n/a
Host Arch
n/a
Docker version
n/aWhat 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