Skip to content

Instantly share code, notes, and snippets.

@DinisCruz
Created January 8, 2017 22:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DinisCruz/1a5fbd548c15a7a6419366c8553f4837 to your computer and use it in GitHub Desktop.
Save DinisCruz/1a5fbd548c15a7a6419366c8553f4837 to your computer and use it in GitHub Desktop.
Setup jenkins and GOGs on Docker
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