-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker-compose - Using private images #346
Comments
Testcontainers use as docker client the docker-java lib, so, I only need a property file to set my credentials, right? https://github.com/docker-java/docker-java $ cd ~
$ vim .docker-java.properties
registry.username=myuser
registry.password=mypass
registry.email=mymail@gmail.com A created a simple project only with docker-java and my tests to pull private images work. My client read my config(.docker-java.properties) and connected in docker hub. |
Looks like it is connected with bug in Docker docker/compose#4171 @rgarbin As a workaround you could use DockerComposeContainer.withLocalCompose(true) to prevent starting docker-compose in a container. |
I don't think the issue is related, we could update the docker-compose image nevertheless though. |
Isn't it fixed by #536 and can be closed now? |
Hi,
How I could up my compose.yml using private images?
I take a look and not found this option to notify testcontainers when up and run docker/compose
In my host I do docker login and trying my docker-compose from host, run ok, only by testcontainer the compose not work with private images.
The text was updated successfully, but these errors were encountered: