docker run --name myjenkins \
-p 8080:8080 -p 50000:50000 \
-v /var/run/docker.sock:/var/run/docker.sock \
-v $PWD/docker:/usr/bin/docker \
-v $PWD/j:/var/jenkins_home \
jj
```
Created
October 13, 2017 11:27
-
-
Save waleedsamy/9f4406795cabeaa1550e687eaa816ecb to your computer and use it in GitHub Desktop.
Run docker inside Jenkins container
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
From jenkins | |
USER root | |
RUN apt-get update && apt-get install -y vim nano zsh curl git sudo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment