Tuesday, March 19, 2019

How to setup Jenkins and Docker

So I want to learn CI/CD and I want to try this in my work. The setup would be docker, jenkins and odoo as the application.

These are the steps:

1. Pull official jenkins image.
docker pull jenkins

2. Create empty folder
/var/jenkins_home

2. Run the docker, will add the volume to map our local from the container.
docker run -u root --rm -p 8080:8080 -p 50000:50000 -v /var/jenkins_home:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock jenkinsci/blueocean







reference:
https://hub.docker.com/r/jenkinsci/blueocean/

No comments:

Post a Comment

free online comma separating tool

https://delim.co/#