Open seanshpark opened 4 years ago
Install: https://jenkins.io/doc/book/installing/
run -p 8080:8080 jenkinsci/blueocean
Run again
docker run \
-u root \
--rm \
-d \
-e JENKINS_JAVA_OPTIONS='-Duser.timezone=Asia/Seoul' \
-p 8080:8080 \
-p 50000:50000 \
-v jenkins-data:/var/jenkins_home \
-v /var/run/docker.sock:/var/run/docker.sock \
jenkinsci/blueocean
Login to container
docker exec -it <container name> /bin/bash
Shutdown jenkins: https://support.cloudbees.com/hc/en-us/articles/216118748-How-to-Start-Stop-or-Restart-your-Instance-
http://<jenkins.server>/restart
http://<jenkins.server>/safeRestart
http://<jenkins.server>/exit
http://<jenkins.server>/safeExit
http://<jenkins.server>/quietDown
http://<jenkins.server>/cancelQuietDown
Questions
Change timezone for showing times : doesn't work yet
Setup and run Jenkins as my cron daemon
Good to read