2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Centos8(8.4)へのDocker-ce Install手順

Last updated at Posted at 2021-10-21

今回は、モグラ叩き的にインストールの手順を記載しています。
読みづらい、最初からこれしておけばいいじゃない、は、ありますが記録として記載。

1)OSのバージョン確認

cat /etc/redhat-release

結果はこちら

CentOS Linux release 8.4.2105

2)Updateの実行
既にyumでなくなりました

dnf -y update

3)Dockerのレポジトリの取得・追加

dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo

結果はこちら

Failed to set locale, defaulting to C.UTF-8
Adding repo from: https://download.docker.com/linux/centos/docker-ce.repo

確認

dnf repolist -v

結果はこちら

Failed to set locale, defaulting to C.UTF-8
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, kpatch, needs-restarting, playground, product-id, repoclosure, repodiff, repograph, repomanage, reposync, uploadprofile
DNF version: 4.4.2
cachedir: /var/cache/dnf
Docker CE Stable - x86_64                                                                                                     219 kB/s |  16 kB     00:00    
Repo-id            : appstream
Repo-name          : CentOS Linux 8 - AppStream
Repo-revision      : 8.4.2105
Repo-distro-tags      : [cpe:/o:centos:centos:8]:  , 8, C, O, S, e, n, t
Repo-updated       : Fri Oct 15 01:16:26 2021
Repo-pkgs          : 7113
Repo-available-pkgs: 6014
Repo-size          : 13 G
Repo-mirrors       : http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=AppStream&infra=stock
Repo-baseurl       : http://mirrors.cat.net/centos/8.4.2105/AppStream/x86_64/os/ (9 more)
Repo-expire        : 172800 second(s) (last: Thu Oct 21 09:50:39 2021)
Repo-filename      : /etc/yum.repos.d/CentOS-Linux-AppStream.repo

Repo-id            : baseos
Repo-name          : CentOS Linux 8 - BaseOS
Repo-revision      : 8.4.2105
Repo-distro-tags      : [cpe:/o:centos:centos:8]:  , 8, C, O, S, e, n, t
Repo-updated       : Fri Oct 15 01:16:03 2021
Repo-pkgs          : 2168
Repo-available-pkgs: 2166
Repo-size          : 3.0 G
Repo-mirrors       : http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=BaseOS&infra=stock
Repo-baseurl       : http://ftp.jaist.ac.jp/pub/Linux/CentOS/8.4.2105/BaseOS/x86_64/os/ (9 more)
Repo-expire        : 172800 second(s) (last: Thu Oct 21 09:50:43 2021)
Repo-filename      : /etc/yum.repos.d/CentOS-Linux-BaseOS.repo

Repo-id            : docker-ce-stable
Repo-name          : Docker CE Stable - x86_64
Repo-revision      : 1633368996
Repo-updated       : Tue Oct  5 02:36:36 2021
Repo-pkgs          : 48
Repo-available-pkgs: 48
Repo-size          : 1.1 G
Repo-baseurl       : https://download.docker.com/linux/centos/8/x86_64/stable
Repo-expire        : 172800 second(s) (last: Thu Oct 21 10:09:01 2021)
Repo-filename      : /etc/yum.repos.d/docker-ce.repo

Repo-id            : epel
Repo-name          : Extra Packages for Enterprise Linux 8 - x86_64
Repo-revision      : 1634604354
Repo-updated       : Tue Oct 19 09:46:26 2021
Repo-pkgs          : 7856
Repo-available-pkgs: 7856
Repo-size          : 12 G
Repo-metalink      : https://mirrors.fedoraproject.org/metalink?repo=epel-8&arch=x86_64&infra=stock&content=centos
  Updated          : Thu Oct 21 09:53:54 2021
Repo-baseurl       : http://ftp.riken.jp/Linux/fedora/epel//8/Everything/x86_64/ (49 more)
Repo-expire        : 172800 second(s) (last: Thu Oct 21 09:53:54 2021)
Repo-filename      : /etc/yum.repos.d/epel.repo

Repo-id            : epel-modular
Repo-name          : Extra Packages for Enterprise Linux Modular 8 - x86_64
Repo-revision      : 1634326965
Repo-updated       : Sat Oct 16 04:42:59 2021
Repo-pkgs          : 262
Repo-available-pkgs: 0
Repo-size          : 1.0 G
Repo-metalink      : https://mirrors.fedoraproject.org/metalink?repo=epel-modular-8&arch=x86_64&infra=stock&content=centos
  Updated          : Thu Oct 21 09:53:51 2021
Repo-baseurl       : http://ftp.riken.jp/Linux/fedora/epel//8/Modular/x86_64/ (49 more)
Repo-expire        : 172800 second(s) (last: Thu Oct 21 09:53:51 2021)
Repo-filename      : /etc/yum.repos.d/epel-modular.repo

Repo-id            : extras
Repo-name          : CentOS Linux 8 - Extras
Repo-revision      : 1632754686
Repo-updated       : Mon Sep 27 23:57:13 2021
Repo-pkgs          : 38
Repo-available-pkgs: 38
Repo-size          : 426 k
Repo-mirrors       : http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=extras&infra=stock
Repo-baseurl       : http://ftp-srv2.kddilabs.jp/Linux/packages/CentOS/8.4.2105/extras/x86_64/os/ (9 more)
Repo-expire        : 172800 second(s) (last: Thu Oct 21 09:50:45 2021)
Repo-filename      : /etc/yum.repos.d/CentOS-Linux-Extras.repo

Repo-id            : mysql-connectors-community
Repo-name          : MySQL Connectors Community
Repo-revision      : 1634542353
Repo-updated       : Mon Oct 18 16:32:33 2021
Repo-pkgs          : 154
Repo-available-pkgs: 154
Repo-size          : 508 M
Repo-baseurl       : http://repo.mysql.com/yum/mysql-connectors-community/el/8/x86_64/
Repo-expire        : 172800 second(s) (last: Thu Oct 21 09:55:41 2021)
Repo-filename      : /etc/yum.repos.d/mysql-community.repo

Repo-id            : mysql-tools-community
Repo-name          : MySQL Tools Community
Repo-revision      : 1634295994
Repo-updated       : Fri Oct 15 20:06:34 2021
Repo-pkgs          : 75
Repo-available-pkgs: 75
Repo-size          : 3.2 G
Repo-baseurl       : http://repo.mysql.com/yum/mysql-tools-community/el/8/x86_64/
Repo-expire        : 172800 second(s) (last: Thu Oct 21 09:55:41 2021)
Repo-filename      : /etc/yum.repos.d/mysql-community.repo

Repo-id            : mysql80-community
Repo-name          : MySQL 8.0 Community Server
Repo-revision      : 1634217289
Repo-updated       : Thu Oct 14 22:14:49 2021
Repo-pkgs          : 189
Repo-available-pkgs: 189
Repo-size          : 7.9 G
Repo-baseurl       : http://repo.mysql.com/yum/mysql-8.0-community/el/8/x86_64/
Repo-expire        : 172800 second(s) (last: Thu Oct 21 09:55:40 2021)
Repo-filename      : /etc/yum.repos.d/mysql-community.repo
Total packages: 17903

4)Docker-ceのインストール

dnf install docker-ce

いろいろエラーが出て失敗・・・

Failed to set locale, defaulting to C.UTF-8
Last metadata expiration check: 0:00:07 ago on Thu Oct 21 10:09:01 2021.
Error: 
 Problem: problem with installed package buildah-1.21.4-2.module_el8.4.0+942+d25aada8.x86_64
  - package buildah-1.21.4-2.module_el8.4.0+942+d25aada8.x86_64 requires runc >= 1.0.0-26, but none of the providers can be installed
  - package buildah-1.21.4-1.module_el8.4.0+886+c9a8d9ad.x86_64 requires runc >= 1.0.0-26, but none of the providers can be installed
  - package buildah-1.19.7-2.module_el8.4.0+830+8027e1c4.x86_64 requires runc >= 1.0.0-26, but none of the providers can be installed
  - package buildah-1.19.7-1.module_el8.4.0+781+acf4c33b.x86_64 requires runc >= 1.0.0-26, but none of the providers can be installed
  - package containerd.io-1.4.3-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.3-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.3-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.3-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.3-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.3-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package docker-ce-3:20.10.9-3.el8.x86_64 requires containerd.io >= 1.4.1, but none of the providers can be installed
  - package containerd.io-1.4.3-3.2.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.3-3.2.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.3-3.2.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.3-3.2.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.3-3.2.el8.x86_64 conflicts with runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.3-3.2.el8.x86_64 obsoletes runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.10-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.10-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.11-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.11-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.4-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.4-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.6-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.6-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.8-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.8-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.9-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.9-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - cannot install the best candidate for the job
  - package runc-1.0.0-56.rc5.dev.git2abd837.module_el8.3.0+569+1bada2e4.x86_64 is filtered out by modular filtering
  - package runc-1.0.0-64.rc10.module_el8.4.0+522+66908d0c.x86_64 is filtered out by modular filtering
  - package runc-1.0.0-65.rc10.module_el8.4.0+819+4afbd1d6.x86_64 is filtered out by modular filtering
  - package runc-1.0.0-70.rc92.module_el8.4.0+786+4668b267.x86_64 is filtered out by modular filtering
  - package runc-1.0.0-71.rc92.module_el8.4.0+833+9763146c.x86_64 is filtered out by modular filtering
  - package containerd.io-1.4.4-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.4-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.4-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.4-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.6-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.6-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.6-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.6-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.8-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.8-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.8-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.8-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.9-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.9-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.9-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.9-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.10-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.10-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.10-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.10-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.11-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.11-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.11-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.11-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

5)気を取り直してオプション追加

dnf -y install docker-ce --nobest

結果変わらず

6)これやると良い的なチャレンジ

yum install docker-ce docker-ce-cli containerd.io

結果同じくダメ

7)古いcontainerd.ioバージョンを先にインストール

wget https://download.docker.com/linux/centos/7/x86_64/stable/Packages/containerd.io-1.2.6-3.3.el7.x86_64.rpm

yum localinstall containerd.io-1.2.6-3.3.el7.x86_64.rpm

結果は以下に(これは入りました)

Failed to set locale, defaulting to C.UTF-8
Last metadata expiration check: 0:02:42 ago on Thu Oct 21 10:09:01 2021.
Package containerd.io-1.2.6-3.3.el7.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

8)気を取り直してdockerをinstall

yum install docker-ce docker-ce-cli 

結果は以下に(ダメでした)

Failed to set locale, defaulting to C.UTF-8
Last metadata expiration check: 0:11:22 ago on Thu Oct 21 10:09:01 2021.
Error: 
 Problem: problem with installed package podman-3.2.3-0.11.module_el8.4.0+942+d25aada8.x86_64
  - package podman-3.2.3-0.11.module_el8.4.0+942+d25aada8.x86_64 requires runc >= 1.0.0-57, but none of the providers can be installed
  - package podman-3.2.3-0.10.module_el8.4.0+886+c9a8d9ad.x86_64 requires runc >= 1.0.0-57, but none of the providers can be installed
  - package podman-3.0.1-7.module_el8.4.0+830+8027e1c4.x86_64 requires runc >= 1.0.0-57, but none of the providers can be installed
  - package podman-3.0.1-6.module_el8.4.0+781+acf4c33b.x86_64 requires runc >= 1.0.0-57, but none of the providers can be installed
  - package containerd.io-1.4.3-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.3-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.3-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.3-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.3-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.3-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package docker-ce-3:20.10.9-3.el8.x86_64 requires containerd.io >= 1.4.1, but none of the providers can be installed
  - package containerd.io-1.4.3-3.2.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.3-3.2.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.3-3.2.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.3-3.2.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.3-3.2.el8.x86_64 conflicts with runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.3-3.2.el8.x86_64 obsoletes runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.2.6-3.3.el7.x86_64 conflicts with containerd provided by containerd.io-1.4.10-3.1.el8.x86_64
  - package containerd.io-1.4.10-3.1.el8.x86_64 conflicts with runc provided by containerd.io-1.2.6-3.3.el7.x86_64
  - package containerd.io-1.4.10-3.1.el8.x86_64 conflicts with containerd provided by containerd.io-1.2.6-3.3.el7.x86_64
  - cannot install both containerd.io-1.4.10-3.1.el8.x86_64 and containerd.io-1.2.6-3.3.el7.x86_64
  - package containerd.io-1.2.6-3.3.el7.x86_64 conflicts with containerd provided by containerd.io-1.4.11-3.1.el8.x86_64
  - package containerd.io-1.4.11-3.1.el8.x86_64 conflicts with runc provided by containerd.io-1.2.6-3.3.el7.x86_64
  - package containerd.io-1.4.11-3.1.el8.x86_64 conflicts with containerd provided by containerd.io-1.2.6-3.3.el7.x86_64
  - cannot install both containerd.io-1.4.11-3.1.el8.x86_64 and containerd.io-1.2.6-3.3.el7.x86_64
  - package containerd.io-1.2.6-3.3.el7.x86_64 conflicts with containerd provided by containerd.io-1.4.3-3.1.el8.x86_64
  - package containerd.io-1.4.3-3.1.el8.x86_64 conflicts with runc provided by containerd.io-1.2.6-3.3.el7.x86_64
  - package containerd.io-1.4.3-3.1.el8.x86_64 conflicts with containerd provided by containerd.io-1.2.6-3.3.el7.x86_64
  - cannot install both containerd.io-1.4.3-3.1.el8.x86_64 and containerd.io-1.2.6-3.3.el7.x86_64
  - package containerd.io-1.2.6-3.3.el7.x86_64 conflicts with containerd provided by containerd.io-1.4.3-3.2.el8.x86_64
  - package containerd.io-1.4.3-3.2.el8.x86_64 conflicts with runc provided by containerd.io-1.2.6-3.3.el7.x86_64
  - package containerd.io-1.4.3-3.2.el8.x86_64 conflicts with containerd provided by containerd.io-1.2.6-3.3.el7.x86_64
  - cannot install both containerd.io-1.4.3-3.2.el8.x86_64 and containerd.io-1.2.6-3.3.el7.x86_64
  - package containerd.io-1.2.6-3.3.el7.x86_64 conflicts with containerd provided by containerd.io-1.4.4-3.1.el8.x86_64
  - package containerd.io-1.4.4-3.1.el8.x86_64 conflicts with runc provided by containerd.io-1.2.6-3.3.el7.x86_64
  - package containerd.io-1.4.4-3.1.el8.x86_64 conflicts with containerd provided by containerd.io-1.2.6-3.3.el7.x86_64
  - cannot install both containerd.io-1.4.4-3.1.el8.x86_64 and containerd.io-1.2.6-3.3.el7.x86_64
  - package containerd.io-1.2.6-3.3.el7.x86_64 conflicts with containerd provided by containerd.io-1.4.6-3.1.el8.x86_64
  - package containerd.io-1.4.6-3.1.el8.x86_64 conflicts with runc provided by containerd.io-1.2.6-3.3.el7.x86_64
  - package containerd.io-1.4.6-3.1.el8.x86_64 conflicts with containerd provided by containerd.io-1.2.6-3.3.el7.x86_64
  - cannot install both containerd.io-1.4.6-3.1.el8.x86_64 and containerd.io-1.2.6-3.3.el7.x86_64
  - package containerd.io-1.2.6-3.3.el7.x86_64 conflicts with containerd provided by containerd.io-1.4.8-3.1.el8.x86_64
  - package containerd.io-1.4.8-3.1.el8.x86_64 conflicts with runc provided by containerd.io-1.2.6-3.3.el7.x86_64
  - package containerd.io-1.4.8-3.1.el8.x86_64 conflicts with containerd provided by containerd.io-1.2.6-3.3.el7.x86_64
  - cannot install both containerd.io-1.4.8-3.1.el8.x86_64 and containerd.io-1.2.6-3.3.el7.x86_64
  - package containerd.io-1.2.6-3.3.el7.x86_64 conflicts with containerd provided by containerd.io-1.4.9-3.1.el8.x86_64
  - package containerd.io-1.4.9-3.1.el8.x86_64 conflicts with runc provided by containerd.io-1.2.6-3.3.el7.x86_64
  - package containerd.io-1.4.9-3.1.el8.x86_64 conflicts with containerd provided by containerd.io-1.2.6-3.3.el7.x86_64
  - cannot install both containerd.io-1.4.9-3.1.el8.x86_64 and containerd.io-1.2.6-3.3.el7.x86_64
  - cannot install the best candidate for the job
  - package runc-1.0.0-64.rc10.module_el8.4.0+522+66908d0c.x86_64 is filtered out by modular filtering
  - package runc-1.0.0-65.rc10.module_el8.4.0+819+4afbd1d6.x86_64 is filtered out by modular filtering
  - package runc-1.0.0-70.rc92.module_el8.4.0+786+4668b267.x86_64 is filtered out by modular filtering
  - package runc-1.0.0-71.rc92.module_el8.4.0+833+9763146c.x86_64 is filtered out by modular filtering
  - package containerd.io-1.4.4-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.4-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.4-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.4-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.4-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.4-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.6-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.6-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.6-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.6-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.6-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.6-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.8-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.8-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.8-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.8-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.8-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.8-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.9-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.9-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.9-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.9-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.9-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.9-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.10-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.10-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.10-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.10-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.10-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.10-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.11-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.11-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.11-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.11-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.11-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.11-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

ようするに邪魔な物がある・・・

9)邪魔者を消す!

dnf remove podman

結果出力

Failed to set locale, defaulting to C.UTF-8
Dependencies resolved.
==============================================================================================================================================================
 Package                             Architecture              Version                                                    Repository                     Size
==============================================================================================================================================================
Removing:
 podman                              x86_64                    3.2.3-0.11.module_el8.4.0+942+d25aada8                     @appstream                     48 M
Removing dependent packages:
 cockpit-podman                      noarch                    32-2.module_el8.4.0+886+c9a8d9ad                           @appstream                    410 k
Removing unused dependencies:
 conmon                              x86_64                    2:2.0.29-1.module_el8.4.0+886+c9a8d9ad                     @appstream                    164 k
 crun                                x86_64                    0.20.1-1.module_el8.4.0+886+c9a8d9ad                       @appstream                    484 k
 podman-catatonit                    x86_64                    3.2.3-0.11.module_el8.4.0+942+d25aada8                     @appstream                    760 k

Transaction Summary
==============================================================================================================================================================
Remove  5 Packages

Freed space: 50 M
Is this ok [y/N]: y
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                      1/1 
  Running scriptlet: cockpit-podman-32-2.module_el8.4.0+886+c9a8d9ad.noarch                                                                               1/1 
  Erasing          : cockpit-podman-32-2.module_el8.4.0+886+c9a8d9ad.noarch                                                                               1/5 
  Erasing          : podman-3.2.3-0.11.module_el8.4.0+942+d25aada8.x86_64                                                                                 2/5 
  Running scriptlet: podman-3.2.3-0.11.module_el8.4.0+942+d25aada8.x86_64                                                                                 2/5 
  Erasing          : podman-catatonit-3.2.3-0.11.module_el8.4.0+942+d25aada8.x86_64                                                                       3/5 
  Erasing          : conmon-2:2.0.29-1.module_el8.4.0+886+c9a8d9ad.x86_64                                                                                 4/5 
  Erasing          : crun-0.20.1-1.module_el8.4.0+886+c9a8d9ad.x86_64                                                                                     5/5 
  Running scriptlet: crun-0.20.1-1.module_el8.4.0+886+c9a8d9ad.x86_64                                                                                     5/5 
  Verifying        : cockpit-podman-32-2.module_el8.4.0+886+c9a8d9ad.noarch                                                                               1/5 
  Verifying        : conmon-2:2.0.29-1.module_el8.4.0+886+c9a8d9ad.x86_64                                                                                 2/5 
  Verifying        : crun-0.20.1-1.module_el8.4.0+886+c9a8d9ad.x86_64                                                                                     3/5 
  Verifying        : podman-3.2.3-0.11.module_el8.4.0+942+d25aada8.x86_64                                                                                 4/5 
  Verifying        : podman-catatonit-3.2.3-0.11.module_el8.4.0+942+d25aada8.x86_64                                                                       5/5 
Installed products updated.

Removed:
  cockpit-podman-32-2.module_el8.4.0+886+c9a8d9ad.noarch                             conmon-2:2.0.29-1.module_el8.4.0+886+c9a8d9ad.x86_64                    
  crun-0.20.1-1.module_el8.4.0+886+c9a8d9ad.x86_64                                   podman-3.2.3-0.11.module_el8.4.0+942+d25aada8.x86_64                    
  podman-catatonit-3.2.3-0.11.module_el8.4.0+942+d25aada8.x86_64                    

Complete!

10)チャレンジ、そして、はいりません

 yum install docker-ce docker-ce-cli 
Failed to set locale, defaulting to C.UTF-8
Last metadata expiration check: 0:15:32 ago on Thu Oct 21 10:09:01 2021.
Error: 
 Problem: problem with installed package buildah-1.21.4-2.module_el8.4.0+942+d25aada8.x86_64
  - package buildah-1.21.4-2.module_el8.4.0+942+d25aada8.x86_64 requires runc >= 1.0.0-26, but none of the providers can be installed
  - package buildah-1.21.4-1.module_el8.4.0+886+c9a8d9ad.x86_64 requires runc >= 1.0.0-26, but none of the providers can be installed
  - package buildah-1.19.7-2.module_el8.4.0+830+8027e1c4.x86_64 requires runc >= 1.0.0-26, but none of the providers can be installed
  - package buildah-1.19.7-1.module_el8.4.0+781+acf4c33b.x86_64 requires runc >= 1.0.0-26, but none of the providers can be installed
  - package containerd.io-1.4.3-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.3-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.3-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.3-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.3-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.3-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package docker-ce-3:20.10.9-3.el8.x86_64 requires containerd.io >= 1.4.1, but none of the providers can be installed
  - package containerd.io-1.4.3-3.2.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.3-3.2.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.3-3.2.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.3-3.2.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.3-3.2.el8.x86_64 conflicts with runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.3-3.2.el8.x86_64 obsoletes runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.2.6-3.3.el7.x86_64 conflicts with containerd provided by containerd.io-1.4.10-3.1.el8.x86_64
  - package containerd.io-1.4.10-3.1.el8.x86_64 conflicts with runc provided by containerd.io-1.2.6-3.3.el7.x86_64
  - package containerd.io-1.4.10-3.1.el8.x86_64 conflicts with containerd provided by containerd.io-1.2.6-3.3.el7.x86_64
  - cannot install both containerd.io-1.4.10-3.1.el8.x86_64 and containerd.io-1.2.6-3.3.el7.x86_64
  - package containerd.io-1.2.6-3.3.el7.x86_64 conflicts with containerd provided by containerd.io-1.4.11-3.1.el8.x86_64
  - package containerd.io-1.4.11-3.1.el8.x86_64 conflicts with runc provided by containerd.io-1.2.6-3.3.el7.x86_64
  - package containerd.io-1.4.11-3.1.el8.x86_64 conflicts with containerd provided by containerd.io-1.2.6-3.3.el7.x86_64
  - cannot install both containerd.io-1.4.11-3.1.el8.x86_64 and containerd.io-1.2.6-3.3.el7.x86_64
  - package containerd.io-1.2.6-3.3.el7.x86_64 conflicts with containerd provided by containerd.io-1.4.3-3.1.el8.x86_64
  - package containerd.io-1.4.3-3.1.el8.x86_64 conflicts with runc provided by containerd.io-1.2.6-3.3.el7.x86_64
  - package containerd.io-1.4.3-3.1.el8.x86_64 conflicts with containerd provided by containerd.io-1.2.6-3.3.el7.x86_64
  - cannot install both containerd.io-1.4.3-3.1.el8.x86_64 and containerd.io-1.2.6-3.3.el7.x86_64
  - package containerd.io-1.2.6-3.3.el7.x86_64 conflicts with containerd provided by containerd.io-1.4.3-3.2.el8.x86_64
  - package containerd.io-1.4.3-3.2.el8.x86_64 conflicts with runc provided by containerd.io-1.2.6-3.3.el7.x86_64
  - package containerd.io-1.4.3-3.2.el8.x86_64 conflicts with containerd provided by containerd.io-1.2.6-3.3.el7.x86_64
  - cannot install both containerd.io-1.4.3-3.2.el8.x86_64 and containerd.io-1.2.6-3.3.el7.x86_64
  - package containerd.io-1.2.6-3.3.el7.x86_64 conflicts with containerd provided by containerd.io-1.4.4-3.1.el8.x86_64
  - package containerd.io-1.4.4-3.1.el8.x86_64 conflicts with runc provided by containerd.io-1.2.6-3.3.el7.x86_64
  - package containerd.io-1.4.4-3.1.el8.x86_64 conflicts with containerd provided by containerd.io-1.2.6-3.3.el7.x86_64
  - cannot install both containerd.io-1.4.4-3.1.el8.x86_64 and containerd.io-1.2.6-3.3.el7.x86_64
  - package containerd.io-1.2.6-3.3.el7.x86_64 conflicts with containerd provided by containerd.io-1.4.6-3.1.el8.x86_64
  - package containerd.io-1.4.6-3.1.el8.x86_64 conflicts with runc provided by containerd.io-1.2.6-3.3.el7.x86_64
  - package containerd.io-1.4.6-3.1.el8.x86_64 conflicts with containerd provided by containerd.io-1.2.6-3.3.el7.x86_64
  - cannot install both containerd.io-1.4.6-3.1.el8.x86_64 and containerd.io-1.2.6-3.3.el7.x86_64
  - package containerd.io-1.2.6-3.3.el7.x86_64 conflicts with containerd provided by containerd.io-1.4.8-3.1.el8.x86_64
  - package containerd.io-1.4.8-3.1.el8.x86_64 conflicts with runc provided by containerd.io-1.2.6-3.3.el7.x86_64
  - package containerd.io-1.4.8-3.1.el8.x86_64 conflicts with containerd provided by containerd.io-1.2.6-3.3.el7.x86_64
  - cannot install both containerd.io-1.4.8-3.1.el8.x86_64 and containerd.io-1.2.6-3.3.el7.x86_64
  - package containerd.io-1.2.6-3.3.el7.x86_64 conflicts with containerd provided by containerd.io-1.4.9-3.1.el8.x86_64
  - package containerd.io-1.4.9-3.1.el8.x86_64 conflicts with runc provided by containerd.io-1.2.6-3.3.el7.x86_64
  - package containerd.io-1.4.9-3.1.el8.x86_64 conflicts with containerd provided by containerd.io-1.2.6-3.3.el7.x86_64
  - cannot install both containerd.io-1.4.9-3.1.el8.x86_64 and containerd.io-1.2.6-3.3.el7.x86_64
  - cannot install the best candidate for the job
  - package runc-1.0.0-56.rc5.dev.git2abd837.module_el8.3.0+569+1bada2e4.x86_64 is filtered out by modular filtering
  - package runc-1.0.0-64.rc10.module_el8.4.0+522+66908d0c.x86_64 is filtered out by modular filtering
  - package runc-1.0.0-65.rc10.module_el8.4.0+819+4afbd1d6.x86_64 is filtered out by modular filtering
  - package runc-1.0.0-70.rc92.module_el8.4.0+786+4668b267.x86_64 is filtered out by modular filtering
  - package runc-1.0.0-71.rc92.module_el8.4.0+833+9763146c.x86_64 is filtered out by modular filtering
  - package containerd.io-1.4.4-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.4-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.4-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.4-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.4-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.4-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.6-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.6-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.6-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.6-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.6-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.6-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.8-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.8-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.8-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.8-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.8-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.8-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.9-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.9-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.9-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.9-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.9-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.9-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.10-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.10-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.10-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.10-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.10-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.10-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.11-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.11-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-70.rc92.module_el8.4.0+673+eabfc99d.x86_64
  - package containerd.io-1.4.11-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.11-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-73.rc93.module_el8.4.0+830+8027e1c4.x86_64
  - package containerd.io-1.4.11-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
  - package containerd.io-1.4.11-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-74.rc95.module_el8.4.0+886+c9a8d9ad.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

11)次の邪魔者を消す(buildah)

 yum remove buildah

結果はこちら

Failed to set locale, defaulting to C.UTF-8
Dependencies resolved.
==============================================================================================================================================================
 Package                              Architecture              Version                                                   Repository                     Size
==============================================================================================================================================================
Removing:
 buildah                              x86_64                    1.21.4-2.module_el8.4.0+942+d25aada8                      @appstream                     30 M
Removing unused dependencies:
 containers-common                    x86_64                    1:1.3.1-5.module_el8.4.0+886+c9a8d9ad                     @appstream                    231 k
 fuse-overlayfs                       x86_64                    1.6-1.module_el8.4.0+886+c9a8d9ad                         @appstream                    145 k
 fuse3                                x86_64                    3.2.1-12.el8                                              @baseos                        90 k
 fuse3-libs                           x86_64                    3.2.1-12.el8                                              @baseos                       279 k
 libslirp                             x86_64                    4.3.1-1.module_el8.4.0+575+63b40ad7                       @appstream                    129 k
 slirp4netns                          x86_64                    1.1.8-1.module_el8.4.0+641+6116a774                       @appstream                     98 k

Transaction Summary
==============================================================================================================================================================
Remove  7 Packages

Freed space: 31 M
Is this ok [y/N]: y
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                      1/1 
  Erasing          : buildah-1.21.4-2.module_el8.4.0+942+d25aada8.x86_64                                                                                  1/7 
  Erasing          : containers-common-1:1.3.1-5.module_el8.4.0+886+c9a8d9ad.x86_64                                                                       2/7 
  Erasing          : fuse-overlayfs-1.6-1.module_el8.4.0+886+c9a8d9ad.x86_64                                                                              3/7 
  Erasing          : slirp4netns-1.1.8-1.module_el8.4.0+641+6116a774.x86_64                                                                               4/7 
  Erasing          : libslirp-4.3.1-1.module_el8.4.0+575+63b40ad7.x86_64                                                                                  5/7 
  Erasing          : fuse3-3.2.1-12.el8.x86_64                                                                                                            6/7 
  Erasing          : fuse3-libs-3.2.1-12.el8.x86_64                                                                                                       7/7 
  Running scriptlet: fuse3-libs-3.2.1-12.el8.x86_64                                                                                                       7/7 
  Verifying        : buildah-1.21.4-2.module_el8.4.0+942+d25aada8.x86_64                                                                                  1/7 
  Verifying        : containers-common-1:1.3.1-5.module_el8.4.0+886+c9a8d9ad.x86_64                                                                       2/7 
  Verifying        : fuse-overlayfs-1.6-1.module_el8.4.0+886+c9a8d9ad.x86_64                                                                              3/7 
  Verifying        : fuse3-3.2.1-12.el8.x86_64                                                                                                            4/7 
  Verifying        : fuse3-libs-3.2.1-12.el8.x86_64                                                                                                       5/7 
  Verifying        : libslirp-4.3.1-1.module_el8.4.0+575+63b40ad7.x86_64                                                                                  6/7 
  Verifying        : slirp4netns-1.1.8-1.module_el8.4.0+641+6116a774.x86_64                                                                               7/7 
Installed products updated.

Removed:
  buildah-1.21.4-2.module_el8.4.0+942+d25aada8.x86_64                        containers-common-1:1.3.1-5.module_el8.4.0+886+c9a8d9ad.x86_64                   
  fuse-overlayfs-1.6-1.module_el8.4.0+886+c9a8d9ad.x86_64                    fuse3-3.2.1-12.el8.x86_64                                                        
  fuse3-libs-3.2.1-12.el8.x86_64                                             libslirp-4.3.1-1.module_el8.4.0+575+63b40ad7.x86_64                              
  slirp4netns-1.1.8-1.module_el8.4.0+641+6116a774.x86_64                    

Complete!

11)泣いても、めげても、インストール

 yum install docker-ce docker-ce-cli 

結果はこちら(ようやく入りました)

Failed to set locale, defaulting to C.UTF-8
Last metadata expiration check: 0:18:30 ago on Thu Oct 21 10:09:01 2021.
Dependencies resolved.
==============================================================================================================================================================
 Package                                   Architecture           Version                                              Repository                        Size
==============================================================================================================================================================
Installing:
 docker-ce                                 x86_64                 3:20.10.9-3.el8                                      docker-ce-stable                  22 M
 docker-ce-cli                             x86_64                 1:20.10.9-3.el8                                      docker-ce-stable                  29 M
Upgrading:
 containerd.io                             x86_64                 1.4.11-3.1.el8                                       docker-ce-stable                  28 M
Installing dependencies:
 docker-ce-rootless-extras                 x86_64                 20.10.9-3.el8                                        docker-ce-stable                 4.6 M
 docker-scan-plugin                        x86_64                 0.8.0-3.el8                                          docker-ce-stable                 4.2 M
 fuse-overlayfs                            x86_64                 1.6-1.module_el8.4.0+886+c9a8d9ad                    appstream                         73 k
 fuse3                                     x86_64                 3.2.1-12.el8                                         baseos                            50 k
 fuse3-libs                                x86_64                 3.2.1-12.el8                                         baseos                            94 k
 libcgroup                                 x86_64                 0.41-19.el8                                          baseos                            70 k
 libslirp                                  x86_64                 4.3.1-1.module_el8.4.0+575+63b40ad7                  appstream                         69 k
 slirp4netns                               x86_64                 1.1.8-1.module_el8.4.0+641+6116a774                  appstream                         51 k

Transaction Summary
==============================================================================================================================================================
Install  10 Packages
Upgrade   1 Package

Total download size: 89 M
Is this ok [y/N]: y
Downloading Packages:
(1/11): slirp4netns-1.1.8-1.module_el8.4.0+641+6116a774.x86_64.rpm                                                            955 kB/s |  51 kB     00:00    
(2/11): libslirp-4.3.1-1.module_el8.4.0+575+63b40ad7.x86_64.rpm                                                               1.2 MB/s |  69 kB     00:00    
(3/11): fuse-overlayfs-1.6-1.module_el8.4.0+886+c9a8d9ad.x86_64.rpm                                                           1.2 MB/s |  73 kB     00:00    
(4/11): fuse3-3.2.1-12.el8.x86_64.rpm                                                                                         959 kB/s |  50 kB     00:00    
(5/11): fuse3-libs-3.2.1-12.el8.x86_64.rpm                                                                                    1.5 MB/s |  94 kB     00:00    
(6/11): libcgroup-0.41-19.el8.x86_64.rpm                                                                                      1.1 MB/s |  70 kB     00:00    
(7/11): docker-ce-rootless-extras-20.10.9-3.el8.x86_64.rpm                                                                     29 MB/s | 4.6 MB     00:00    
(8/11): docker-scan-plugin-0.8.0-3.el8.x86_64.rpm                                                                              28 MB/s | 4.2 MB     00:00    
(9/11): containerd.io-1.4.11-3.1.el8.x86_64.rpm                                                                                29 MB/s |  28 MB     00:00    
(10/11): docker-ce-cli-20.10.9-3.el8.x86_64.rpm                                                                                21 MB/s |  29 MB     00:01    
(11/11): docker-ce-20.10.9-3.el8.x86_64.rpm                                                                                    15 MB/s |  22 MB     00:01    
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                          41 MB/s |  89 MB     00:02     
warning: /var/cache/dnf/docker-ce-stable-fa9dc42ab4cec2f4/packages/docker-ce-20.10.9-3.el8.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID 621e9f35: NOKEY
Docker CE Stable - x86_64                                                                                                      46 kB/s | 1.6 kB     00:00    
Importing GPG key 0x621E9F35:
 Userid     : "Docker Release (CE rpm) <docker@docker.com>"
 Fingerprint: 060A 61C5 1B55 8A7F 742B 77AA C52F EB6B 621E 9F35
 From       : https://download.docker.com/linux/centos/gpg
Is this ok [y/N]: y
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                      1/1 
  Running scriptlet: docker-scan-plugin-0.8.0-3.el8.x86_64                                                                                                1/1 
  Installing       : docker-scan-plugin-0.8.0-3.el8.x86_64                                                                                               1/12 
  Running scriptlet: docker-scan-plugin-0.8.0-3.el8.x86_64                                                                                               1/12 
  Installing       : docker-ce-cli-1:20.10.9-3.el8.x86_64                                                                                                2/12 
  Running scriptlet: docker-ce-cli-1:20.10.9-3.el8.x86_64                                                                                                2/12 
  Upgrading        : containerd.io-1.4.11-3.1.el8.x86_64                                                                                                 3/12 
  Running scriptlet: containerd.io-1.4.11-3.1.el8.x86_64                                                                                                 3/12 
  Running scriptlet: libcgroup-0.41-19.el8.x86_64                                                                                                        4/12 
  Installing       : libcgroup-0.41-19.el8.x86_64                                                                                                        4/12 
  Running scriptlet: libcgroup-0.41-19.el8.x86_64                                                                                                        4/12 
  Installing       : fuse3-libs-3.2.1-12.el8.x86_64                                                                                                      5/12 
  Running scriptlet: fuse3-libs-3.2.1-12.el8.x86_64                                                                                                      5/12 
  Installing       : fuse3-3.2.1-12.el8.x86_64                                                                                                           6/12 
  Installing       : fuse-overlayfs-1.6-1.module_el8.4.0+886+c9a8d9ad.x86_64                                                                             7/12 
  Running scriptlet: fuse-overlayfs-1.6-1.module_el8.4.0+886+c9a8d9ad.x86_64                                                                             7/12 
  Installing       : libslirp-4.3.1-1.module_el8.4.0+575+63b40ad7.x86_64                                                                                 8/12 
  Installing       : slirp4netns-1.1.8-1.module_el8.4.0+641+6116a774.x86_64                                                                              9/12 
  Installing       : docker-ce-3:20.10.9-3.el8.x86_64                                                                                                   10/12 
  Running scriptlet: docker-ce-3:20.10.9-3.el8.x86_64                                                                                                   10/12 
  Installing       : docker-ce-rootless-extras-20.10.9-3.el8.x86_64                                                                                     11/12 
  Running scriptlet: docker-ce-rootless-extras-20.10.9-3.el8.x86_64                                                                                     11/12 
  Running scriptlet: containerd.io-1.2.6-3.3.el7.x86_64                                                                                                 12/12 
  Cleanup          : containerd.io-1.2.6-3.3.el7.x86_64                                                                                                 12/12 
  Running scriptlet: containerd.io-1.2.6-3.3.el7.x86_64                                                                                                 12/12 
  Verifying        : fuse-overlayfs-1.6-1.module_el8.4.0+886+c9a8d9ad.x86_64                                                                             1/12 
  Verifying        : libslirp-4.3.1-1.module_el8.4.0+575+63b40ad7.x86_64                                                                                 2/12 
  Verifying        : slirp4netns-1.1.8-1.module_el8.4.0+641+6116a774.x86_64                                                                              3/12 
  Verifying        : fuse3-3.2.1-12.el8.x86_64                                                                                                           4/12 
  Verifying        : fuse3-libs-3.2.1-12.el8.x86_64                                                                                                      5/12 
  Verifying        : libcgroup-0.41-19.el8.x86_64                                                                                                        6/12 
  Verifying        : docker-ce-3:20.10.9-3.el8.x86_64                                                                                                    7/12 
  Verifying        : docker-ce-cli-1:20.10.9-3.el8.x86_64                                                                                                8/12 
  Verifying        : docker-ce-rootless-extras-20.10.9-3.el8.x86_64                                                                                      9/12 
  Verifying        : docker-scan-plugin-0.8.0-3.el8.x86_64                                                                                              10/12 
  Verifying        : containerd.io-1.4.11-3.1.el8.x86_64                                                                                                11/12 
  Verifying        : containerd.io-1.2.6-3.3.el7.x86_64                                                                                                 12/12 
Installed products updated.

Upgraded:
  containerd.io-1.4.11-3.1.el8.x86_64                                                                                                                         
Installed:
  docker-ce-3:20.10.9-3.el8.x86_64                                               docker-ce-cli-1:20.10.9-3.el8.x86_64                                         
  docker-ce-rootless-extras-20.10.9-3.el8.x86_64                                 docker-scan-plugin-0.8.0-3.el8.x86_64                                        
  fuse-overlayfs-1.6-1.module_el8.4.0+886+c9a8d9ad.x86_64                        fuse3-3.2.1-12.el8.x86_64                                                    
  fuse3-libs-3.2.1-12.el8.x86_64                                                 libcgroup-0.41-19.el8.x86_64                                                 
  libslirp-4.3.1-1.module_el8.4.0+575+63b40ad7.x86_64                            slirp4netns-1.1.8-1.module_el8.4.0+641+6116a774.x86_64                       

Complete!

12)確認

docker -v

結果は以下に

Docker version 20.10.9, build c2ea9bc

docker-ce起動

systemctl start docker

docker-ce起動確認

systemctl status docker

結果は以下に

● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
   Active: active (running) since Thu 2021-10-21 10:40:42 JST; 3s ago
     Docs: https://docs.docker.com
 Main PID: 47809 (dockerd)
    Tasks: 8
   Memory: 28.0M
   CGroup: /system.slice/docker.service
           └─47809 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock

Oct 21 10:40:34 zbx02 dockerd[47809]: time="2021-10-21T10:40:34.443747661+09:00" level=warning msg="Your kernel does not support cgroup blkio weight_device"
Oct 21 10:40:34 zbx02 dockerd[47809]: time="2021-10-21T10:40:34.443948021+09:00" level=info msg="Loading containers: start."
Oct 21 10:40:34 zbx02 systemd[1]: Starting Docker Application Container Engine...
Oct 21 10:40:42 zbx02 dockerd[47809]: time="2021-10-21T10:40:42.030435533+09:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.>
Oct 21 10:40:42 zbx02 dockerd[47809]: time="2021-10-21T10:40:42.119643192+09:00" level=info msg="Firewalld: interface docker0 already part of docker zone, re>
Oct 21 10:40:42 zbx02 dockerd[47809]: time="2021-10-21T10:40:42.251353712+09:00" level=info msg="Loading containers: done."
Oct 21 10:40:42 zbx02 dockerd[47809]: time="2021-10-21T10:40:42.274311054+09:00" level=info msg="Docker daemon" commit=79ea9d3 graphdriver(s)=overlay2 versio>
Oct 21 10:40:42 zbx02 dockerd[47809]: time="2021-10-21T10:40:42.274414273+09:00" level=info msg="Daemon has completed initialization"
Oct 21 10:40:42 zbx02 dockerd[47809]: time="2021-10-21T10:40:42.312037844+09:00" level=info msg="API listen on /var/run/docker.sock"
Oct 21 10:40:42 zbx02 systemd[1]: Started Docker Application Container Engine.

最後に、

systemctl enable docker

をお忘れなく

以上です。

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?