Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.