Answer the question
In order to leave comments, you need to log in
How to access a docker(DinD) subnet from another docker(Jenkins)?
Good afternoon.
There are two dockers running on the host - Docker in Docker (DinD) and Jenkins.
Jenkins runs its dockers in DinD. How can I get access from Jenkins to containers created in DinD?
Answer the question
In order to leave comments, you need to log in
without knowing the details of the settings, it is difficult to advise something
. Most likely, if you look at the IP addresses of these containers on the host machine, you will see something like the following:
docker inspect --format '{{ .NetworkSettings.IPAddress }}' dind
172.17.0.2
docker inspect --format '{{ .NetworkSettings.IPAddress }}' jenkins
172.17.0.3
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question