10 lines
265 B
Bash
10 lines
265 B
Bash
mkdir /home/c2a/jenkins_home
|
|
chmod 777 /home/c2a/jenkins_home
|
|
docker run --detach \
|
|
--name jenkins \
|
|
--publish 8002:8080 \
|
|
--publish 50000:50000 \
|
|
--volume /var/jenkins_home:/var/jenkins_home \
|
|
--restart unless-stopped \
|
|
jenkins/jenkins:lts
|