Created
March 23, 2015 09:33
-
-
Save valbeat/aa35d359190dbdea64fa to your computer and use it in GitHub Desktop.
CentOS 6.5 (64bit)でDockerを使う ref: http://qiita.com/valbeat/items/776437138630d2f4d763
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
$ sudo rpm -ivh http://ftp.riken.jp/Linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm |
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
$ sudo yum update | |
$ sudo yum -y remove docker | |
$ sudo yum -y install docker-io | |
$ sudo service docker start | |
$ sudo chkconfig docker on |
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
$ docker --version |
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
$ sudo docker pull centos | |
$ sudo docker images centos | |
$ sudo docker run -i -t centos /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment