Created
May 24, 2014 18:57
-
-
Save suryagaddipati/e2d265cc4970fc03bdea to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| service docker stop | |
| sh -c "echo deb http://get.docker.io/ubuntu docker main\ | |
| > /etc/apt/sources.list.d/docker.list" | |
| apt-get update | |
| apt-get install lxc-docker | |
| service docker start | |
| root@jenkins:~# docker -v | |
| Docker version 0.11.1, build fb99f99 | |
| mkdir /mongodb | |
| docker run -d -p 27017:27017 -v /mongodata:/data --name mongodb dockerfile/mongodb | |
| docker run -d -P -p 80:8080 --link mongodb:mongodb -v /jenkins:/jenkins aespinosa/jenkins |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment