Created
January 8, 2017 22:30
-
-
Save DinisCruz/1a5fbd548c15a7a6419366c8553f4837 to your computer and use it in GitHub Desktop.
Setup jenkins and GOGs on Docker
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
download docker | |
install docker (click cancel on the VirtualBox question) | |
on cmd.exe/sh | |
docker-machine create --driver=virtualbox default | |
docker-machine ssh default | |
docker run hello-world | |
docker run -it ubuntu bash | |
docker run -it -p 3000:3000 gogs/gogs | |
docker run -it -p 8080:8080 -p 50000:50000 jenkins:2.7.4 | |
#to run as deamon add -d | |
docker run -it -d -p 3000:3000 gogs/gogs | |
wget http://192.168.99.100:32771/jnlpJars/slave.jar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment