Jenkins by Docker

By | 2021년 8월 25일
Table of Content

Jenkins by Docker

sudo useradd -s /sbin/nologin jenkins

sudo mkdir /jenkins
sudo chown 1000 /jenkins

docker run \
    -d \
    -p 9000:8080 \
    -v /jenkins:/var/jenkins_home \
    --name jenkins \
    -u jenkins \
    jenkins/jenkins

답글 남기기