No one sees the real me

クラウドサービス基盤 SE

docker-io と、epel を入れる

[root@naoki_doc1 ~]# yum install docker-io
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
 * base: ftp.iij.ad.jp
 * extras: ftp.iij.ad.jp
 * updates: ftp.iij.ad.jp
Setting up Install Process
No package docker-io available.
Error: Nothing to do
[root@naoki_doc1 ~]#
[root@naoki_doc1 ~]# uname -a
Linux naoki_doc1 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
[root@naoki_doc1 ~]#
[root@naoki_doc1 ~]# cat /etc/redhat-release
CentOS release 6.9 (Final)
[root@naoki_doc1 ~]#
[root@naoki_doc1 ~]#
[root@naoki_doc1 ~]# yum repolist
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: ftp.iij.ad.jp
 * extras: ftp.iij.ad.jp
 * updates: ftp.iij.ad.jp
repo id                        repo name                                  status
base                           CentOS-6 - Base                            6,706
extras                         CentOS-6 - Extras                             53
updates                        CentOS-6 - Updates                         1,255
repolist: 8,014
[root@naoki_doc1 ~]#
[root@naoki_doc1 ~]# cd /etc/yum.repos.d/
[root@naoki_doc1 yum.repos.d]# ll
total 20
-rw-r--r--. 1 root root 1926 Nov 27  2013 CentOS-Base.repo
-rw-r--r--. 1 root root  638 Nov 27  2013 CentOS-Debuginfo.repo
-rw-r--r--. 1 root root  630 Nov 27  2013 CentOS-Media.repo
-rw-r--r--. 1 root root 3664 Nov 27  2013 CentOS-Vault.repo
[root@naoki_doc1 yum.repos.d]#
[root@naoki_doc1 yum.repos.d]#
[root@naoki_doc1 yum.repos.d]# yum -y install epel-release
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: ftp.iij.ad.jp
 * extras: ftp.iij.ad.jp
 * updates: ftp.iij.ad.jp
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:6-8 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                Arch             Version         Repository        Size
================================================================================
Installing:
 epel-release           noarch           6-8             extras            14 k

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

Total download size: 14 k
Installed size: 22 k
Downloading Packages:
epel-release-6-8.noarch.rpm                              |  14 kB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : epel-release-6-8.noarch                                      1/1
  Verifying  : epel-release-6-8.noarch                                      1/1

Installed:
  epel-release.noarch 0:6-8

Complete!
[root@naoki_doc1 yum.repos.d]# yum -y install docker-io
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
epel/metalink                                            | 4.5 kB     00:00
 * base: ftp.iij.ad.jp
 * epel: mirror.dmmlabs.jp
 * extras: ftp.iij.ad.jp
 * updates: ftp.iij.ad.jp
epel                                                     | 4.7 kB     00:00
epel/primary_db                                          | 6.0 MB     00:00
Resolving Dependencies
--> Running transaction check
---> Package docker-io.x86_64 0:1.7.1-2.el6 will be installed
--> Processing Dependency: libcgroup for package: docker-io-1.7.1-2.el6.x86_64
--> Processing Dependency: lxc for package: docker-io-1.7.1-2.el6.x86_64
--> Running transaction check
---> Package libcgroup.x86_64 0:0.40.rc1-24.el6_9 will be installed
---> Package lxc.x86_64 0:1.0.11-1.el6 will be installed
--> Processing Dependency: lua-lxc(x86-64) = 1.0.11-1.el6 for package: lxc-1.0.11-1.el6.x86_64
--> Processing Dependency: lua-alt-getopt for package: lxc-1.0.11-1.el6.x86_64
--> Processing Dependency: liblxc.so.1()(64bit) for package: lxc-1.0.11-1.el6.x86_64
--> Running transaction check
---> Package lua-alt-getopt.noarch 0:0.7.0-1.el6 will be installed
---> Package lua-lxc.x86_64 0:1.0.11-1.el6 will be installed
--> Processing Dependency: lua-filesystem for package: lua-lxc-1.0.11-1.el6.x86_64
---> Package lxc-libs.x86_64 0:1.0.11-1.el6 will be installed
--> Running transaction check
---> Package lua-filesystem.x86_64 0:1.4.2-1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package              Arch         Version                  Repository     Size
================================================================================
Installing:
 docker-io            x86_64       1.7.1-2.el6              epel          4.6 M
Installing for dependencies:
 libcgroup            x86_64       0.40.rc1-24.el6_9        updates       131 k
 lua-alt-getopt       noarch       0.7.0-1.el6              epel          6.9 k
 lua-filesystem       x86_64       1.4.2-1.el6              epel           24 k
 lua-lxc              x86_64       1.0.11-1.el6             epel           16 k
 lxc                  x86_64       1.0.11-1.el6             epel          124 k
 lxc-libs             x86_64       1.0.11-1.el6             epel          257 k

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

Total download size: 5.1 M
Installed size: 20 M
Downloading Packages:
(1/7): docker-io-1.7.1-2.el6.x86_64.rpm                  | 4.6 MB     00:00
(2/7): libcgroup-0.40.rc1-24.el6_9.x86_64.rpm            | 131 kB     00:00
(3/7): lua-alt-getopt-0.7.0-1.el6.noarch.rpm             | 6.9 kB     00:00
(4/7): lua-filesystem-1.4.2-1.el6.x86_64.rpm             |  24 kB     00:00
(5/7): lua-lxc-1.0.11-1.el6.x86_64.rpm                   |  16 kB     00:00
(6/7): lxc-1.0.11-1.el6.x86_64.rpm                       | 124 kB     00:00
(7/7): lxc-libs-1.0.11-1.el6.x86_64.rpm                  | 257 kB     00:00
--------------------------------------------------------------------------------
Total                                           2.7 MB/s | 5.1 MB     00:01
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 (@extras)
 From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : lxc-libs-1.0.11-1.el6.x86_64                                 1/7
  Installing : lua-filesystem-1.4.2-1.el6.x86_64                            2/7
  Installing : lua-lxc-1.0.11-1.el6.x86_64                                  3/7
  Installing : lua-alt-getopt-0.7.0-1.el6.noarch                            4/7
  Installing : lxc-1.0.11-1.el6.x86_64                                      5/7
  Installing : libcgroup-0.40.rc1-24.el6_9.x86_64                           6/7
  Installing : docker-io-1.7.1-2.el6.x86_64                                 7/7
  Verifying  : lxc-1.0.11-1.el6.x86_64                                      1/7
  Verifying  : lua-lxc-1.0.11-1.el6.x86_64                                  2/7
  Verifying  : lxc-libs-1.0.11-1.el6.x86_64                                 3/7
  Verifying  : libcgroup-0.40.rc1-24.el6_9.x86_64                           4/7
  Verifying  : docker-io-1.7.1-2.el6.x86_64                                 5/7
  Verifying  : lua-alt-getopt-0.7.0-1.el6.noarch                            6/7
  Verifying  : lua-filesystem-1.4.2-1.el6.x86_64                            7/7

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

Dependency Installed:
  libcgroup.x86_64 0:0.40.rc1-24.el6_9    lua-alt-getopt.noarch 0:0.7.0-1.el6
  lua-filesystem.x86_64 0:1.4.2-1.el6     lua-lxc.x86_64 0:1.0.11-1.el6
  lxc.x86_64 0:1.0.11-1.el6               lxc-libs.x86_64 0:1.0.11-1.el6

Complete!
[root@naoki_doc1 yum.repos.d]#