How to find docker URL?

2.1k views Asked by At

enter image description hereI have used this image https://hub.docker.com/r/bibinwilson/jenkins-slave/ and created container with below comments docker run -d -p 80:80 bibinwilson/jenkins-slave

2

There are 2 answers

0
vijay On BEST ANSWER

I have created Docker host authentication with docker certificates ,now its working fine

4
Shantanu On

If your host needs to allow connections from a jenkins instance hosted on a different machine, you will need to open up the TCP port. This can be achieved by editing the docker config file and setting (for example)

DOCKER_OPTS="-H tcp://0.0.0.0:4243 -H unix:///var/run/docker.sock"

The docker configuration file location will depend your system, but it is likely to be /etc/init/docker.conf, /etc/default/docker or /etc/default/docker.io)