15 lines
363 B
Markdown
15 lines
363 B
Markdown
```
|
|
docker run -d -uroot -p 9095:8080 -p 50000:50000 --name jenkins -v /home/jenkins_home:/var/jenkins_home -v /etc/localtime:/etc/localtime jenkins/jenkins
|
|
```
|
|
|
|
```
|
|
docker run \
|
|
-u root \
|
|
--rm \
|
|
-d \
|
|
-p 8080:8080 \
|
|
-p 50000:50000 \
|
|
-v jenkins-data:/var/jenkins_home \
|
|
-v /var/run/docker.sock:/var/run/docker.sock \
|
|
jenkinsci/blueocean
|
|
``` |