how to run jenkins in docker

When it comes to Jenkins. The most easy way I find to setup a jenkin CI-CD server is ,start one AWS EC2 instance and run docker container on it. The most cool thing is it just takes few minute to do so. No hustle at all.

A one line command to run jenkin container

docker run -d -p 8080:8080 -v $PWD/jenkins:/var/jenkins_home -t jenkins/jenkins

Leave a Reply