Last active
October 3, 2017 02:18
-
-
Save dan82840/7f9fa53d814203e57c7ad9927fd01eae to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
## Use port 8080 to connect, 10.5.1.101 company DNS server | |
docker run -d \ | |
-p 8080:8080 -p 50000:50000 \ | |
--name=jenkins-2.7.3 \ | |
--dns=10.5.1.101 \ | |
-v /etc/timezone:/etc/timezone:ro \ | |
-v /etc/localtime:/etc/localtime:ro \ | |
-v /opt/jenkins_home:/var/jenkins_home jenkins:2.7.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment