Docker Community Forums

Share and learn in the Docker community.

Access docker from outside networks


(Ankush77) #1

I have set up jenkins using docker but it is only accessible from my local machine. I want it to be accessible to other machines too. I am using linux machine. Is there a solution for this problem?

(Martin Terp) #2


If you mapped the ports, you should be able to access it from other machines.
If you’re not sure, please provide the command/compose-file you used to create the jenkins container.

(Ankush77) #3

this is the command that i ran:docker run -itd --name jenkins -p 8080:8080 -p 50000:50000 -v /var/jenkins_home jenkins