Created
April 21, 2019 15:54
-
-
Save Dkra/afd5d45d73ec5a7bbdb772c98f370f80 to your computer and use it in GitHub Desktop.
This file contains 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
version: '3.7' | |
services: | |
jenkins: | |
image: 15625611d6fb | |
stdin_open: true | |
ports: | |
- target: 8080 | |
published: 8080 | |
protocol: tcp | |
mode: host | |
volumes: | |
- '/var/jenkins_home:/var/jenkins_home' | |
- /var/run/docker.sock:/var/run/docker.sock | |
- /usr/bin/docker:/usr/bin/docker | |
- /usr/lib64/libltdl.so.7:/usr/lib/x86_64-linux-gnu/libltdl.so.7 | |
tty: true | |
# After build up the container, need to execute the command below: | |
# docker exec -u root ${ContainerId} /bin/chmod -v a+s $(which docker) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment