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

techouse

I love helping beautiful people like you. I love hanging out with my dogs.

You may also like...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

× How can I help you?