Skip to content

Instantly share code, notes, and snippets.

@thomashartm
Created January 9, 2019 09:08
Show Gist options
  • Save thomashartm/17c52cd20b95a4b5571677796117b8af to your computer and use it in GitHub Desktop.
Save thomashartm/17c52cd20b95a4b5571677796117b8af to your computer and use it in GitHub Desktop.
# Based on https://jenkins.io/doc/book/installing/
# Download the container and start it
docker run -u root --rm -d -p 8080:8080 -p 50000:50000 -v ${HOME}/projects/jenkins/home:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock jenkinsci/blueocean
# View the logs
docker logs jenkinsci/blueocean
#Open a shell
docker exec -it jenkinsci/blueocean bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment