How to run Jenkins with docker?
How to Install Jenkins Image in Docker ?
How to run Jenkins with docker?
Installing Jenkins
By this command, Jenkins image will be downloaded and Jenkins container will run
docker run jenkins
But after running the Jenkins container you will notice that you cannot access it outside that container. Now the question arises of how to access it from outside the container.
We need to mention the inside port to the outside port
docker run -p 8080:8080 jenkins