●サブスクリプション登録
[root@rh74 ~]# subscription-manager register
登録中: subscription.rhsm.redhat.com:443/subscription
ユーザー名: 495a41bb
パスワード:
このシステムは次の ID で登録されました: 0e776ef8-7b70-42b9-b027-317554e30a1a
[root@rh74 ~]# subscription-manager attach --auto
インストール済み製品の現在の状態:
製品名: Red Hat Enterprise Linux Server
状態: サブスクライブ済み
[root@rh74 ~]# subscription-manager list
+-------------------------------------------+
インストール済み製品のステータス
+-------------------------------------------+
製品名: Red Hat Enterprise Linux Server
製品 ID: 69
バージョン: 7.4
アーキテクチャー: x86_64
状態: サブスクライブ済み
状態の詳細:
開始: 2019年10月20日
終了: 2019年11月04日
●EXTRAS有効化
[root@rh74 ~]# subscription-manager repos --enable=rhel-7-server-extras-rpms
1 ローカル証明書が削除されました。
リポジトリー 'rhel-7-server-extras-rpms' はこのシステムに対して有効になっています。
●インストール
[root@rh74 ~]# yum install docker -y
読み込んだプラグイン:langpacks, product-id, search-disabled-repos, subscription-manager
rhel-7-server-extras-rpms | 3.4 kB 00:00:00
rhel-7-server-rpms | 3.5 kB 00:00:00
(1/6): rhel-7-server-extras-rpms/x86_64/group | 124 B 00:00:00
(2/6): rhel-7-server-extras-rpms/x86_64/updateinfo | 212 kB 00:00:00
(3/6): rhel-7-server-extras-rpms/x86_64/primary_db | 571 kB 00:00:01
(4/6): rhel-7-server-rpms/7Server/x86_64/group | 773 kB 00:00:02
(5/6): rhel-7-server-rpms/7Server/x86_64/updateinfo | 3.4 MB 00:00:05
(6/6): rhel-7-server-rpms/7Server/x86_64/primary_db | 62 MB 00:00:58
依存性の解決をしています
--> トランザクションの確認を実行しています。
---> パッケージ docker.x86_64 2:1.13.1-104.git4ef4b30.el7 を インストール
--> 依存性の処理をしています: docker-client = 2:1.13.1-104.git4ef4b30.el7 のパッケージ: 2:docker-1.13.1-104.git4ef4b30.el7.x86_64
--> 依存性の処理をしています: docker-common = 2:1.13.1-104.git4ef4b30.el7 のパッケージ: 2:docker-1.13.1-104.git4ef4b30.el7.x86_64
--> トランザクションの確認を実行しています。
---> パッケージ docker-client.x86_64 2:1.13.1-104.git4ef4b30.el7 を インストール
---> パッケージ docker-common.x86_64 2:1.13.1-104.git4ef4b30.el7 を インストール
--> 依存性の処理をしています: docker-rhel-push-plugin = 2:1.13.1-104.git4ef4b30.el7 のパッケージ: 2:docker-common-1.13.1-104.git4ef4b30.el7.x86_64
--> 依存性の処理をしています: container-selinux >= 2:2.51-1 のパッケージ: 2:docker-common-1.13.1-104.git4ef4b30.el7.x86_64
--> 依存性の処理をしています: container-storage-setup >= 0.9.0-1 のパッケージ: 2:docker-common-1.13.1-104.git4ef4b30.el7.x86_64
--> 依存性の処理をしています: oci-register-machine >= 1:0-5.13 のパッケージ: 2:docker-common-1.13.1-104.git4ef4b30.el7.x86_64
--> 依存性の処理をしています: oci-systemd-hook >= 1:0.1.4-9 のパッケージ: 2:docker-common-1.13.1-104.git4ef4b30.el7.x86_64
--> 依存性の処理をしています: oci-umount >= 2:2.3.3-3 のパッケージ: 2:docker-common-1.13.1-104.git4ef4b30.el7.x86_64
--> 依存性の処理をしています: skopeo-containers >= 1:0.1.26-2 のパッケージ: 2:docker-common-1.13.1-104.git4ef4b30.el7.x86_64
--> 依存性の処理をしています: atomic-registries のパッケージ: 2:docker-common-1.13.1-104.git4ef4b30.el7.x86_64
--> トランザクションの確認を実行しています。
---> パッケージ atomic-registries.x86_64 1:1.22.1-29.gitb507039.el7 を インストール
--> 依存性の処理をしています: python-pytoml のパッケージ: 1:atomic-registries-1.22.1-29.gitb507039.el7.x86_64
--> 依存性の処理をしています: python-yaml のパッケージ: 1:atomic-registries-1.22.1-29.gitb507039.el7.x86_64
---> パッケージ container-selinux.noarch 2:2.107-3.el7 を インストール
--> 依存性の処理をしています: selinux-policy >= 3.13.1-216.el7 のパッケージ: 2:container-selinux-2.107-3.el7.noarch
--> 依存性の処理をしています: selinux-policy-base >= 3.13.1-216.el7 のパッケージ: 2:container-selinux-2.107-3.el7.noarch
--> 依存性の処理をしています: selinux-policy-targeted >= 3.13.1-216.el7 のパッケージ: 2:container-selinux-2.107-3.el7.noarch
---> パッケージ container-storage-setup.noarch 0:0.11.0-2.git5eaf76c.el7 を インストール
---> パッケージ containers-common.x86_64 1:0.1.37-3.el7 を インストール
---> パッケージ docker-rhel-push-plugin.x86_64 2:1.13.1-104.git4ef4b30.el7 を インストール
---> パッケージ oci-register-machine.x86_64 1:0-6.git2b44233.el7 を インストール
---> パッケージ oci-systemd-hook.x86_64 1:0.2.0-1.git05e6923.el7_6 を インストール
---> パッケージ oci-umount.x86_64 2:2.5-3.el7 を インストール
--> トランザクションの確認を実行しています。
---> パッケージ PyYAML.x86_64 0:3.10-11.el7 を インストール
--> 依存性の処理をしています: libyaml-0.so.2()(64bit) のパッケージ: PyYAML-3.10-11.el7.x86_64
---> パッケージ python-pytoml.noarch 0:0.1.14-1.git7dea353.el7 を インストール
---> パッケージ selinux-policy.noarch 0:3.13.1-166.el7 を 更新
---> パッケージ selinux-policy.noarch 0:3.13.1-252.el7.1 を アップデート
--> 依存性の処理をしています: libsemanage >= 2.5-13 のパッケージ: selinux-policy-3.13.1-252.el7.1.noarch
--> 依存性の処理をしています: policycoreutils >= 2.5-24 のパッケージ: selinux-policy-3.13.1-252.el7.1.noarch
---> パッケージ selinux-policy-targeted.noarch 0:3.13.1-166.el7 を 更新
---> パッケージ selinux-policy-targeted.noarch 0:3.13.1-252.el7.1 を アップデート
--> トランザクションの確認を実行しています。
---> パッケージ libsemanage.x86_64 0:2.5-8.el7 を 更新
--> 依存性の処理をしています: libsemanage = 2.5-8.el7 のパッケージ: libsemanage-python-2.5-8.el7.x86_64
---> パッケージ libsemanage.x86_64 0:2.5-14.el7 を アップデート
--> 依存性の処理をしています: libselinux >= 2.5-14 のパッケージ: libsemanage-2.5-14.el7.x86_64
--> 依存性の処理をしています: libsepol >= 2.5-10 のパッケージ: libsemanage-2.5-14.el7.x86_64
---> パッケージ libyaml.x86_64 0:0.1.4-11.el7_0 を インストール
---> パッケージ policycoreutils.x86_64 0:2.5-17.1.el7 を 更新
--> 依存性の処理をしています: policycoreutils = 2.5-17.1.el7 のパッケージ: policycoreutils-python-2.5-17.1.el7.x86_64
---> パッケージ policycoreutils.x86_64 0:2.5-33.el7 を アップデート
--> 依存性の処理をしています: libselinux-utils >= 2.5-14 のパッケージ: policycoreutils-2.5-33.el7.x86_64
--> トランザクションの確認を実行しています。
---> パッケージ libselinux.x86_64 0:2.5-11.el7 を 更新
--> 依存性の処理をしています: libselinux(x86-64) = 2.5-11.el7 のパッケージ: libselinux-python-2.5-11.el7.x86_64
---> パッケージ libselinux.x86_64 0:2.5-14.1.el7 を アップデート
---> パッケージ libselinux-utils.x86_64 0:2.5-11.el7 を 更新
---> パッケージ libselinux-utils.x86_64 0:2.5-14.1.el7 を アップデート
---> パッケージ libsemanage-python.x86_64 0:2.5-8.el7 を 更新
---> パッケージ libsemanage-python.x86_64 0:2.5-14.el7 を アップデート
---> パッケージ libsepol.x86_64 0:2.5-6.el7 を 更新
---> パッケージ libsepol.x86_64 0:2.5-10.el7 を アップデート
---> パッケージ policycoreutils-python.x86_64 0:2.5-17.1.el7 を 更新
---> パッケージ policycoreutils-python.x86_64 0:2.5-33.el7 を アップデート
--> 依存性の処理をしています: setools-libs >= 3.3.8-4 のパッケージ: policycoreutils-python-2.5-33.el7.x86_64
--> トランザクションの確認を実行しています。
---> パッケージ libselinux-python.x86_64 0:2.5-11.el7 を 更新
---> パッケージ libselinux-python.x86_64 0:2.5-14.1.el7 を アップデート
---> パッケージ setools-libs.x86_64 0:3.3.8-1.1.el7 を 更新
---> パッケージ setools-libs.x86_64 0:3.3.8-4.el7 を アップデート
--> 依存性解決を終了しました。
依存性を解決しました
====================================================================================
Package アーキテクチャー
バージョン リポジトリー 容量
====================================================================================
インストール中:
docker x86_64 2:1.13.1-104.git4ef4b30.el7
rhel-7-server-extras-rpms 18 M
依存性関連でのインストールをします:
PyYAML x86_64 3.10-11.el7 rhel-7-server-rpms 153 k
atomic-registries x86_64 1:1.22.1-29.gitb507039.el7
rhel-7-server-extras-rpms 35 k
container-selinux noarch 2:2.107-3.el7 rhel-7-server-extras-rpms 39 k
container-storage-setup noarch 0.11.0-2.git5eaf76c.el7
rhel-7-server-extras-rpms 35 k
containers-common x86_64 1:0.1.37-3.el7 rhel-7-server-extras-rpms 21 k
docker-client x86_64 2:1.13.1-104.git4ef4b30.el7
rhel-7-server-extras-rpms 3.9 M
docker-common x86_64 2:1.13.1-104.git4ef4b30.el7
rhel-7-server-extras-rpms 97 k
docker-rhel-push-plugin x86_64 2:1.13.1-104.git4ef4b30.el7
rhel-7-server-extras-rpms 2.0 M
libyaml x86_64 0.1.4-11.el7_0 rhel-7-server-rpms 55 k
oci-register-machine x86_64 1:0-6.git2b44233.el7
rhel-7-server-extras-rpms 1.1 M
oci-systemd-hook x86_64 1:0.2.0-1.git05e6923.el7_6
rhel-7-server-extras-rpms 34 k
oci-umount x86_64 2:2.5-3.el7 rhel-7-server-extras-rpms 33 k
python-pytoml noarch 0.1.14-1.git7dea353.el7
rhel-7-server-extras-rpms 18 k
依存性関連での更新をします:
libselinux x86_64 2.5-14.1.el7 rhel-7-server-rpms 162 k
libselinux-python x86_64 2.5-14.1.el7 rhel-7-server-rpms 236 k
libselinux-utils x86_64 2.5-14.1.el7 rhel-7-server-rpms 152 k
libsemanage x86_64 2.5-14.el7 rhel-7-server-rpms 151 k
libsemanage-python x86_64 2.5-14.el7 rhel-7-server-rpms 113 k
libsepol x86_64 2.5-10.el7 rhel-7-server-rpms 297 k
policycoreutils x86_64 2.5-33.el7 rhel-7-server-rpms 916 k
policycoreutils-python x86_64 2.5-33.el7 rhel-7-server-rpms 457 k
selinux-policy noarch 3.13.1-252.el7.1 rhel-7-server-rpms 492 k
selinux-policy-targeted noarch 3.13.1-252.el7.1 rhel-7-server-rpms 7.0 M
setools-libs x86_64 3.3.8-4.el7 rhel-7-server-rpms 620 k
トランザクションの要約
====================================================================================
インストール 1 パッケージ (+13 個の依存関係のパッケージ)
更新 ( 11 個の依存関係のパッケージ)
総ダウンロード容量: 36 M
Downloading packages:
No Presto metadata available for rhel-7-server-rpms
警告: /var/cache/yum/x86_64/7Server/rhel-7-server-extras-rpms/packages/container-selinux-2.107-3.el7.noarch.rpm: ヘッダー V3 RSA/SHA256 Signature、鍵 ID fd431d51: NOKEY
container-selinux-2.107-3.el7.noarch.rpm の公開鍵がインストールされていません
(1/25): container-selinux-2.107-3.el7.noarch.rpm | 39 kB 00:00:01
(2/25): atomic-registries-1.22.1-29.gitb507039.el7.x86_64.rp | 35 kB 00:00:01
(3/25): container-storage-setup-0.11.0-2.git5eaf76c.el7.noar | 35 kB 00:00:00
PyYAML-3.10-11.el7.x86_64.rpm の公開鍵がインストールされていません
(4/25): PyYAML-3.10-11.el7.x86_64.rpm | 153 kB 00:00:01
(5/25): containers-common-0.1.37-3.el7.x86_64.rpm | 21 kB 00:00:00
(6/25): docker-client-1.13.1-104.git4ef4b30.el7.x86_64.rpm | 3.9 MB 00:00:16
(7/25): docker-common-1.13.1-104.git4ef4b30.el7.x86_64.rpm | 97 kB 00:00:00
(8/25): libselinux-2.5-14.1.el7.x86_64.rpm | 162 kB 00:00:01
(9/25): libselinux-python-2.5-14.1.el7.x86_64.rpm | 236 kB 00:00:01
(10/25): libselinux-utils-2.5-14.1.el7.x86_64.rpm | 152 kB 00:00:00
(11/25): libsemanage-2.5-14.el7.x86_64.rpm | 151 kB 00:00:00
(12/25): libsemanage-python-2.5-14.el7.x86_64.rpm | 113 kB 00:00:00
(13/25): libyaml-0.1.4-11.el7_0.x86_64.rpm | 55 kB 00:00:00
(14/25): libsepol-2.5-10.el7.x86_64.rpm | 297 kB 00:00:01
(15/25): docker-rhel-push-plugin-1.13.1-104.git4ef4b30.el7.x | 2.0 MB 00:00:04
(16/25): oci-register-machine-0-6.git2b44233.el7.x86_64.rpm | 1.1 MB 00:00:01
(17/25): oci-systemd-hook-0.2.0-1.git05e6923.el7_6.x86_64.rp | 34 kB 00:00:00
(18/25): oci-umount-2.5-3.el7.x86_64.rpm | 33 kB 00:00:00
(19/25): python-pytoml-0.1.14-1.git7dea353.el7.noarch.rpm | 18 kB 00:00:00
(20/25): policycoreutils-python-2.5-33.el7.x86_64.rpm | 457 kB 00:00:02
(21/25): policycoreutils-2.5-33.el7.x86_64.rpm | 916 kB 00:00:03
(22/25): selinux-policy-3.13.1-252.el7.1.noarch.rpm | 492 kB 00:00:01
(23/25): setools-libs-3.3.8-4.el7.x86_64.rpm | 620 kB 00:00:02
(24/25): docker-1.13.1-104.git4ef4b30.el7.x86_64.rpm | 18 MB 00:00:31
(25/25): selinux-policy-targeted-3.13.1-252.el7.1.noarch.rpm | 7.0 MB 00:00:08
------------------------------------------------------------------------------------
合計 960 kB/s | 36 MB 00:37
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release から鍵を取得中です。
Importing GPG key 0xFD431D51:
Userid : "Red Hat, Inc. (release key 2) <security@redhat.com>"
Fingerprint: 567e 347a d004 4ade 55ba 8a5f 199e 2f91 fd43 1d51
Package : redhat-release-server-7.4-18.el7.x86_64 (@anaconda/7.4)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
Importing GPG key 0x2FA658E0:
Userid : "Red Hat, Inc. (auxiliary key) <security@redhat.com>"
Fingerprint: 43a6 e49c 4a38 f4be 9abf 2a53 4568 9c88 2fa6 58e0
Package : redhat-release-server-7.4-18.el7.x86_64 (@anaconda/7.4)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
更新します : libsepol-2.5-10.el7.x86_64 1/36
更新します : libselinux-2.5-14.1.el7.x86_64 2/36
更新します : libsemanage-2.5-14.el7.x86_64 3/36
更新します : libselinux-utils-2.5-14.1.el7.x86_64 4/36
更新します : policycoreutils-2.5-33.el7.x86_64 5/36
更新します : selinux-policy-3.13.1-252.el7.1.noarch 6/36
更新します : selinux-policy-targeted-3.13.1-252.el7.1.noarch 7/36
更新します : libsemanage-python-2.5-14.el7.x86_64 8/36
更新します : setools-libs-3.3.8-4.el7.x86_64 9/36
インストール中 : 1:oci-systemd-hook-0.2.0-1.git05e6923.el7_6.x86 10/36
更新します : libselinux-python-2.5-14.1.el7.x86_64 11/36
更新します : policycoreutils-python-2.5-33.el7.x86_64 12/36
インストール中 : 2:container-selinux-2.107-3.el7.noarch 13/36
インストール中 : 1:containers-common-0.1.37-3.el7.x86_64 14/36
インストール中 : libyaml-0.1.4-11.el7_0.x86_64 15/36
インストール中 : PyYAML-3.10-11.el7.x86_64 16/36
インストール中 : 1:oci-register-machine-0-6.git2b44233.el7.x86_6 17/36
インストール中 : python-pytoml-0.1.14-1.git7dea353.el7.noarch 18/36
インストール中 : 1:atomic-registries-1.22.1-29.gitb507039.el7.x8 19/36
インストール中 : 2:oci-umount-2.5-3.el7.x86_64 20/36
インストール中 : 2:docker-rhel-push-plugin-1.13.1-104.git4ef4b30 21/36
インストール中 : container-storage-setup-0.11.0-2.git5eaf76c.el7 22/36
インストール中 : 2:docker-common-1.13.1-104.git4ef4b30.el7.x86_6 23/36
インストール中 : 2:docker-client-1.13.1-104.git4ef4b30.el7.x86_6 24/36
インストール中 : 2:docker-1.13.1-104.git4ef4b30.el7.x86_64 25/36
整理中 : policycoreutils-python-2.5-17.1.el7.x86_64 26/36
整理中 : selinux-policy-targeted-3.13.1-166.el7.noarch 27/36
整理中 : selinux-policy-3.13.1-166.el7.noarch 28/36
整理中 : policycoreutils-2.5-17.1.el7.x86_64 29/36
整理中 : libselinux-utils-2.5-11.el7.x86_64 30/36
整理中 : setools-libs-3.3.8-1.1.el7.x86_64 31/36
整理中 : libselinux-python-2.5-11.el7.x86_64 32/36
整理中 : libsemanage-python-2.5-8.el7.x86_64 33/36
整理中 : libsemanage-2.5-8.el7.x86_64 34/36
整理中 : libselinux-2.5-11.el7.x86_64 35/36
整理中 : libsepol-2.5-6.el7.x86_64 36/36
rhel-7-server-extras-rpms/x86_64/productid | 2.1 kB 00:00:00
rhel-7-server-rpms/7Server/x86_64/productid | 2.1 kB 00:00:00
検証中 : 2:container-selinux-2.107-3.el7.noarch 1/36
検証中 : container-storage-setup-0.11.0-2.git5eaf76c.el7 2/36
検証中 : 1:atomic-registries-1.22.1-29.gitb507039.el7.x8 3/36
検証中 : 2:docker-rhel-push-plugin-1.13.1-104.git4ef4b30 4/36
検証中 : 2:oci-umount-2.5-3.el7.x86_64 5/36
検証中 : python-pytoml-0.1.14-1.git7dea353.el7.noarch 6/36
検証中 : setools-libs-3.3.8-4.el7.x86_64 7/36
検証中 : policycoreutils-python-2.5-33.el7.x86_64 8/36
検証中 : libsemanage-python-2.5-14.el7.x86_64 9/36
検証中 : 1:oci-systemd-hook-0.2.0-1.git05e6923.el7_6.x86 10/36
検証中 : selinux-policy-targeted-3.13.1-252.el7.1.noarch 11/36
検証中 : 1:oci-register-machine-0-6.git2b44233.el7.x86_6 12/36
検証中 : libsemanage-2.5-14.el7.x86_64 13/36
検証中 : libsepol-2.5-10.el7.x86_64 14/36
検証中 : 2:docker-client-1.13.1-104.git4ef4b30.el7.x86_6 15/36
検証中 : policycoreutils-2.5-33.el7.x86_64 16/36
検証中 : selinux-policy-3.13.1-252.el7.1.noarch 17/36
検証中 : libselinux-python-2.5-14.1.el7.x86_64 18/36
検証中 : libyaml-0.1.4-11.el7_0.x86_64 19/36
検証中 : libselinux-utils-2.5-14.1.el7.x86_64 20/36
検証中 : libselinux-2.5-14.1.el7.x86_64 21/36
検証中 : PyYAML-3.10-11.el7.x86_64 22/36
検証中 : 2:docker-1.13.1-104.git4ef4b30.el7.x86_64 23/36
検証中 : 2:docker-common-1.13.1-104.git4ef4b30.el7.x86_6 24/36
検証中 : 1:containers-common-0.1.37-3.el7.x86_64 25/36
検証中 : libselinux-utils-2.5-11.el7.x86_64 26/36
検証中 : libselinux-2.5-11.el7.x86_64 27/36
検証中 : libsepol-2.5-6.el7.x86_64 28/36
検証中 : policycoreutils-python-2.5-17.1.el7.x86_64 29/36
検証中 : selinux-policy-3.13.1-166.el7.noarch 30/36
検証中 : policycoreutils-2.5-17.1.el7.x86_64 31/36
検証中 : libsemanage-python-2.5-8.el7.x86_64 32/36
検証中 : libsemanage-2.5-8.el7.x86_64 33/36
検証中 : libselinux-python-2.5-11.el7.x86_64 34/36
検証中 : selinux-policy-targeted-3.13.1-166.el7.noarch 35/36
検証中 : setools-libs-3.3.8-1.1.el7.x86_64 36/36
インストール:
docker.x86_64 2:1.13.1-104.git4ef4b30.el7
依存性関連をインストールしました:
PyYAML.x86_64 0:3.10-11.el7
atomic-registries.x86_64 1:1.22.1-29.gitb507039.el7
container-selinux.noarch 2:2.107-3.el7
container-storage-setup.noarch 0:0.11.0-2.git5eaf76c.el7
containers-common.x86_64 1:0.1.37-3.el7
docker-client.x86_64 2:1.13.1-104.git4ef4b30.el7
docker-common.x86_64 2:1.13.1-104.git4ef4b30.el7
docker-rhel-push-plugin.x86_64 2:1.13.1-104.git4ef4b30.el7
libyaml.x86_64 0:0.1.4-11.el7_0
oci-register-machine.x86_64 1:0-6.git2b44233.el7
oci-systemd-hook.x86_64 1:0.2.0-1.git05e6923.el7_6
oci-umount.x86_64 2:2.5-3.el7
python-pytoml.noarch 0:0.1.14-1.git7dea353.el7
依存性を更新しました:
libselinux.x86_64 0:2.5-14.1.el7
libselinux-python.x86_64 0:2.5-14.1.el7
libselinux-utils.x86_64 0:2.5-14.1.el7
libsemanage.x86_64 0:2.5-14.el7
libsemanage-python.x86_64 0:2.5-14.el7
libsepol.x86_64 0:2.5-10.el7
policycoreutils.x86_64 0:2.5-33.el7
policycoreutils-python.x86_64 0:2.5-33.el7
selinux-policy.noarch 0:3.13.1-252.el7.1
selinux-policy-targeted.noarch 0:3.13.1-252.el7.1
setools-libs.x86_64 0:3.3.8-4.el7
完了しました!