sudo yum install -y yum-utils
Last metadata expiration check: 2:03:17 ago on Tue 24 Jun 2025 01:11:56 PM KST.
Dependencies resolved.
=========================================================================================================================
Package Architecture Version Repository Size
=========================================================================================================================
Installing:
yum-utils noarch 4.0.21-25.el8 baseos 75 k
Upgrading:
dnf-plugins-core noarch 4.0.21-25.el8 baseos 76 k
python3-dnf-plugins-core noarch 4.0.21-25.el8 baseos 262 k
Installing dependencies:
python3-systemd x86_64 234-8.el8 baseos 80 k
Transaction Summary
=========================================================================================================================
Install 2 Packages
Upgrade 2 Packages
Total download size: 492 k
Downloading Packages:
(1/4): yum-utils-4.0.21-25.el8.noarch.rpm 637 kB/s | 75 kB 00:00
(2/4): dnf-plugins-core-4.0.21-25.el8.noarch.rpm 608 kB/s | 76 kB 00:00
(3/4): python3-systemd-234-8.el8.x86_64.rpm 620 kB/s | 80 kB 00:00
(4/4): python3-dnf-plugins-core-4.0.21-25.el8.noarch.rpm 9.1 MB/s | 262 kB 00:00
-------------------------------------------------------------------------------------------------------------------------
Total 782 kB/s | 492 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : python3-systemd-234-8.el8.x86_64 1/6
Upgrading : python3-dnf-plugins-core-4.0.21-25.el8.noarch 2/6
Upgrading : dnf-plugins-core-4.0.21-25.el8.noarch 3/6
Installing : yum-utils-4.0.21-25.el8.noarch 4/6
Cleanup : dnf-plugins-core-4.0.21-11.el8.noarch 5/6
Cleanup : python3-dnf-plugins-core-4.0.21-11.el8.noarch 6/6
Running scriptlet: python3-dnf-plugins-core-4.0.21-11.el8.noarch 6/6
Verifying : python3-systemd-234-8.el8.x86_64 1/6
Verifying : yum-utils-4.0.21-25.el8.noarch 2/6
Verifying : dnf-plugins-core-4.0.21-25.el8.noarch 3/6
Verifying : dnf-plugins-core-4.0.21-11.el8.noarch 4/6
Verifying : python3-dnf-plugins-core-4.0.21-25.el8.noarch 5/6
Verifying : python3-dnf-plugins-core-4.0.21-11.el8.noarch 6/6
Upgraded:
dnf-plugins-core-4.0.21-25.el8.noarch python3-dnf-plugins-core-4.0.21-25.el8.noarch
Installed:
python3-systemd-234-8.el8.x86_64 yum-utils-4.0.21-25.el8.noarch
Complete!
sudo yum-config-manager --add-repo
https://download.docker.com/linux/centos/docker-ce.repo
Adding repo from: https://download.docker.com/linux/centos/docker-ce.repo
sudo yum install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Last metadata expiration check: 0:00:40 ago on Tue 24 Jun 2025 03:16:28 PM KST.
Dependencies resolved.
=========================================================================================================================
Package Arch Version Repository Size
=========================================================================================================================
Installing:
containerd.io x86_64 1.6.32-3.1.el8 docker-ce-stable 35 M
docker-buildx-plugin x86_64 0.14.0-1.el8 docker-ce-stable 14 M
docker-ce x86_64 3:26.1.3-1.el8 docker-ce-stable 27 M
docker-ce-cli x86_64 1:26.1.3-1.el8 docker-ce-stable 7.8 M
docker-compose-plugin x86_64 2.27.0-1.el8 docker-ce-stable 13 M
Installing dependencies:
container-selinux noarch 2:2.229.0-2.module+el8.10.0+1948+4b5cd4a9 appstream 70 k
fuse-common x86_64 3.3.0-19.el8 baseos 21 k
fuse-overlayfs x86_64 1.13-1.module+el8.10.0+1948+4b5cd4a9 appstream 69 k
fuse3 x86_64 3.3.0-19.el8 baseos 54 k
fuse3-libs x86_64 3.3.0-19.el8 baseos 95 k
libcgroup x86_64 0.41-19.el8 baseos 69 k
libslirp x86_64 4.4.0-2.module+el8.10.0+1948+4b5cd4a9 appstream 69 k
slirp4netns x86_64 1.2.3-1.module+el8.10.0+1948+4b5cd4a9 appstream 55 k
Installing weak dependencies:
docker-ce-rootless-extras x86_64 26.1.3-1.el8 docker-ce-stable 5.0 M
Enabling module streams:
container-tools rhel8
Transaction Summary
=========================================================================================================================
Install 14 Packages
Total download size: 103 M
Installed size: 390 M
Is this ok [y/N]: y
Downloading Packages:
(1/14): fuse-overlayfs-1.13-1.module+el8.10.0+1948+4b5cd4a9.x86_64.rpm 973 kB/s | 69 kB 00:00
(2/14): libslirp-4.4.0-2.module+el8.10.0+1948+4b5cd4a9.x86_64.rpm 927 kB/s | 69 kB 00:00
(3/14): container-selinux-2.229.0-2.module+el8.10.0+1948+4b5cd4a9.noarch.rpm 875 kB/s | 70 kB 00:00
(4/14): slirp4netns-1.2.3-1.module+el8.10.0+1948+4b5cd4a9.x86_64.rpm 4.7 MB/s | 55 kB 00:00
(5/14): fuse-common-3.3.0-19.el8.x86_64.rpm 2.2 MB/s | 21 kB 00:00
(6/14): libcgroup-0.41-19.el8.x86_64.rpm 8.2 MB/s | 69 kB 00:00
(7/14): fuse3-libs-3.3.0-19.el8.x86_64.rpm 2.2 MB/s | 95 kB 00:00
(8/14): fuse3-3.3.0-19.el8.x86_64.rpm 867 kB/s | 54 kB 00:00
(9/14): docker-buildx-plugin-0.14.0-1.el8.x86_64.rpm 7.1 MB/s | 14 MB 00:01
(10/14): docker-ce-cli-26.1.3-1.el8.x86_64.rpm 15 MB/s | 7.8 MB 00:00
(11/14): docker-ce-rootless-extras-26.1.3-1.el8.x86_64.rpm 12 MB/s | 5.0 MB 00:00
(12/14): docker-ce-26.1.3-1.el8.x86_64.rpm 8.5 MB/s | 27 MB 00:03
(13/14): docker-compose-plugin-2.27.0-1.el8.x86_64.rpm 12 MB/s | 13 MB 00:01
(14/14): containerd.io-1.6.32-3.1.el8.x86_64.rpm 8.2 MB/s | 35 MB 00:04
-------------------------------------------------------------------------------------------------------------------------
Total 19 MB/s | 103 MB 00:05
Docker CE Stable - x86_64 3.0 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
Installing : docker-compose-plugin-2.27.0-1.el8.x86_64 1/14
Running scriptlet: docker-compose-plugin-2.27.0-1.el8.x86_64 1/14
Installing : fuse3-libs-3.3.0-19.el8.x86_64 2/14
Running scriptlet: fuse3-libs-3.3.0-19.el8.x86_64 2/14
Running scriptlet: container-selinux-2:2.229.0-2.module+el8.10.0+1948+4b5cd4a9.noarch 3/14
Installing : container-selinux-2:2.229.0-2.module+el8.10.0+1948+4b5cd4a9.noarch 3/14
Running scriptlet: container-selinux-2:2.229.0-2.module+el8.10.0+1948+4b5cd4a9.noarch 3/14
Installing : containerd.io-1.6.32-3.1.el8.x86_64 4/14
Running scriptlet: containerd.io-1.6.32-3.1.el8.x86_64 4/14
Installing : docker-buildx-plugin-0.14.0-1.el8.x86_64 5/14
Running scriptlet: docker-buildx-plugin-0.14.0-1.el8.x86_64 5/14
Installing : docker-ce-cli-1:26.1.3-1.el8.x86_64 6/14
Running scriptlet: docker-ce-cli-1:26.1.3-1.el8.x86_64 6/14
Running scriptlet: libcgroup-0.41-19.el8.x86_64 7/14
Installing : libcgroup-0.41-19.el8.x86_64 7/14
Running scriptlet: libcgroup-0.41-19.el8.x86_64 7/14
Installing : fuse-common-3.3.0-19.el8.x86_64 8/14
Installing : fuse3-3.3.0-19.el8.x86_64 9/14
Installing : fuse-overlayfs-1.13-1.module+el8.10.0+1948+4b5cd4a9.x86_64 10/14
Running scriptlet: fuse-overlayfs-1.13-1.module+el8.10.0+1948+4b5cd4a9.x86_64 10/14
Installing : libslirp-4.4.0-2.module+el8.10.0+1948+4b5cd4a9.x86_64 11/14
Installing : slirp4netns-1.2.3-1.module+el8.10.0+1948+4b5cd4a9.x86_64 12/14
Installing : docker-ce-rootless-extras-26.1.3-1.el8.x86_64 13/14
Running scriptlet: docker-ce-rootless-extras-26.1.3-1.el8.x86_64 13/14
Installing : docker-ce-3:26.1.3-1.el8.x86_64 14/14
Running scriptlet: docker-ce-3:26.1.3-1.el8.x86_64 14/14
Running scriptlet: container-selinux-2:2.229.0-2.module+el8.10.0+1948+4b5cd4a9.noarch 14/14
Running scriptlet: docker-ce-3:26.1.3-1.el8.x86_64 14/14
Verifying : container-selinux-2:2.229.0-2.module+el8.10.0+1948+4b5cd4a9.noarch 1/14
Verifying : fuse-overlayfs-1.13-1.module+el8.10.0+1948+4b5cd4a9.x86_64 2/14
Verifying : libslirp-4.4.0-2.module+el8.10.0+1948+4b5cd4a9.x86_64 3/14
Verifying : slirp4netns-1.2.3-1.module+el8.10.0+1948+4b5cd4a9.x86_64 4/14
Verifying : fuse-common-3.3.0-19.el8.x86_64 5/14
Verifying : fuse3-3.3.0-19.el8.x86_64 6/14
Verifying : fuse3-libs-3.3.0-19.el8.x86_64 7/14
Verifying : libcgroup-0.41-19.el8.x86_64 8/14
Verifying : containerd.io-1.6.32-3.1.el8.x86_64 9/14
Verifying : docker-buildx-plugin-0.14.0-1.el8.x86_64 10/14
Verifying : docker-ce-3:26.1.3-1.el8.x86_64 11/14
Verifying : docker-ce-cli-1:26.1.3-1.el8.x86_64 12/14
Verifying : docker-ce-rootless-extras-26.1.3-1.el8.x86_64 13/14
Verifying : docker-compose-plugin-2.27.0-1.el8.x86_64 14/14
Installed:
container-selinux-2:2.229.0-2.module+el8.10.0+1948+4b5cd4a9.noarch
containerd.io-1.6.32-3.1.el8.x86_64
docker-buildx-plugin-0.14.0-1.el8.x86_64
docker-ce-3:26.1.3-1.el8.x86_64
docker-ce-cli-1:26.1.3-1.el8.x86_64
docker-ce-rootless-extras-26.1.3-1.el8.x86_64
docker-compose-plugin-2.27.0-1.el8.x86_64
fuse-common-3.3.0-19.el8.x86_64
fuse-overlayfs-1.13-1.module+el8.10.0+1948+4b5cd4a9.x86_64
fuse3-3.3.0-19.el8.x86_64
fuse3-libs-3.3.0-19.el8.x86_64
libcgroup-0.41-19.el8.x86_64
libslirp-4.4.0-2.module+el8.10.0+1948+4b5cd4a9.x86_64
slirp4netns-1.2.3-1.module+el8.10.0+1948+4b5cd4a9.x86_64
Complete!
sudo systemctl start docker
sudo systemctl status docker
docker run hello-world