How to Install Jenkins Image in Docker ?
how to install jenkins on docker container ?
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 question arises 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