読者です 読者をやめる 読者になる 読者になる

AKAI TSUKI

System development or Technical something

install docker 0.10 in CentOS 6.5

docker 0.10 を CentOS 6.5にインストールしてみたよ。

# yum install --enablerepo=epel-testing docker-io
Loaded plugins: downloadonly, fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.tsukuba.wide.ad.jp
 * epel: ftp.kddilabs.jp
 * epel-testing: ftp.kddilabs.jp
 * extras: ftp.tsukuba.wide.ad.jp
 * updates: ftp.tsukuba.wide.ad.jp
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package docker-io.x86_64 0:0.10.0-2.el6 will be installed
--> Processing Dependency: xz for package: docker-io-0.10.0-2.el6.x86_64
--> Processing Dependency: lxc for package: docker-io-0.10.0-2.el6.x86_64
--> Processing Dependency: libcgroup for package: docker-io-0.10.0-2.el6.x86_64
--> Running transaction check
---> Package libcgroup.x86_64 0:0.40.rc1-5.el6_5.1 will be installed
---> Package lxc.x86_64 0:0.9.0-2.el6 will be installed
--> Processing Dependency: liblxc.so.0()(64bit) for package: lxc-0.9.0-2.el6.x86_64
---> Package xz.x86_64 0:4.999.9-0.3.beta.20091007git.el6 will be installed
--> Running transaction check
---> Package lxc-libs.x86_64 0:0.9.0-2.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================
 Package               Arch               Version                                        Repository                Size
========================================================================================================================
Installing:
 docker-io             x86_64             0.10.0-2.el6                                   epel-testing             4.4 M
Installing for dependencies:
 libcgroup             x86_64             0.40.rc1-5.el6_5.1                             updates                  125 k
 lxc                   x86_64             0.9.0-2.el6                                    epel                      78 k
 lxc-libs              x86_64             0.9.0-2.el6                                    epel                     116 k
 xz                    x86_64             4.999.9-0.3.beta.20091007git.el6               base                     137 k

Transaction Summary
========================================================================================================================
Install       5 Package(s)

Total download size: 4.9 M
Installed size: 24 M
Is this ok [y/N]: y
Downloading Packages:
(1/5): docker-io-0.10.0-2.el6.x86_64.rpm                                                         | 4.4 MB     00:00
(2/5): libcgroup-0.40.rc1-5.el6_5.1.x86_64.rpm                                                   | 125 kB     00:00
(3/5): lxc-0.9.0-2.el6.x86_64.rpm                                                                |  78 kB     00:00
(4/5): lxc-libs-0.9.0-2.el6.x86_64.rpm                                                           | 116 kB     00:00
(5/5): xz-4.999.9-0.3.beta.20091007git.el6.x86_64.rpm                                            | 137 kB     00:00
------------------------------------------------------------------------------------------------------------------------
Total                                                                                   6.8 MB/s | 4.9 MB     00:00
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Importing GPG key 0x0608B895:
 Userid : EPEL (6) <epel@fedoraproject.org>
 Package: epel-release-6-8.noarch (@/epel-release-6-8.noarch)
 From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : libcgroup-0.40.rc1-5.el6_5.1.x86_64                                                                  1/5
  Installing : lxc-libs-0.9.0-2.el6.x86_64                                                                          2/5
  Installing : lxc-0.9.0-2.el6.x86_64                                                                               3/5
  Installing : xz-4.999.9-0.3.beta.20091007git.el6.x86_64                                                           4/5
  Installing : docker-io-0.10.0-2.el6.x86_64                                                                        5/5
  Verifying  : xz-4.999.9-0.3.beta.20091007git.el6.x86_64                                                           1/5
  Verifying  : lxc-libs-0.9.0-2.el6.x86_64                                                                          2/5
  Verifying  : libcgroup-0.40.rc1-5.el6_5.1.x86_64                                                                  3/5
  Verifying  : docker-io-0.10.0-2.el6.x86_64                                                                        4/5
  Verifying  : lxc-0.9.0-2.el6.x86_64                                                                               5/5

Installed:
  docker-io.x86_64 0:0.10.0-2.el6

Dependency Installed:
  libcgroup.x86_64 0:0.40.rc1-5.el6_5.1              lxc.x86_64 0:0.9.0-2.el6       lxc-libs.x86_64 0:0.9.0-2.el6
  xz.x86_64 0:4.999.9-0.3.beta.20091007git.el6

Complete!
# service docker start
Starting cgconfig service:                                 [  OK  ]
Starting docker:                                           [  OK  ]
# docker version
Client version: 0.10.0
Client API version: 1.10
Go version (client): go1.2.1
Git commit (client): dc9c28f/0.10.0
Server version: 0.10.0
Server API version: 1.10
Git commit (server): dc9c28f/0.10.0
Go version (server): go1.2.1
Last stable version: 0.10.0
#