Created
January 12, 2015 03:13
-
-
Save sakuemon/23ac5051e1f25a246486 to your computer and use it in GitHub Desktop.
boot2docker tutorial
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
after install boot2docker... | |
(a boot2docker include docker command.You DON'T need install docker) | |
$ boot2docker init | |
$ boot2docker up | |
$ $(boot2docker shellinit) # set docker envs | |
$ boot2docker ip # show ip | |
$ docker version # show docker version. before 'boot2docker up', I got an error message for server versions. | |
$ docker pull centos:latest # pull centos image. | |
$ docker run centos some commands # exec command | |
$ docker run -it centos /bin/bash # interactive mode. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment