How To Install Docker
How To Install Docker
How To Install Docker
-----------------------------------------------------------
# yum install container-selinux-2.107-3.el7.noarch.rpm
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
Examining container-selinux-2.107-3.el7.noarch.rpm: 2:container-selinux-2.107-
3.el7.noarch
Marking container-selinux-2.107-3.el7.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package container-selinux.noarch 2:2.107-3.el7 will be installed
--> Finished Dependency Resolution
docker-ce-stable/7Server/x86_64 | 3.5 kB
00:00:00
epel/x86_64/metalink | 12 kB
00:00:00
google-chrome | 1.3 kB
00:00:00
google-chrome/primary | 1.7 kB
00:00:00
nux-dextop/x86_64 | 2.9 kB
00:00:00
rhel-7-server-extras-rpms/x86_64 | 3.4 kB
00:00:00
rhel-7-server-extras-rpms/x86_64/group | 124 B
00:00:00
rhel-7-server-extras-rpms/x86_64/updateinfo | 241 kB
00:00:00
rhel-7-server-extras-rpms/x86_64/primary_db | 666 kB
00:00:00
rhel-7-server-rpms/7Server/x86_64 | 3.5 kB
00:00:00
Dependencies Resolved
===================================================================================
===========
Package Arch Version Repository
Size
===================================================================================
===========
Installing:
container-selinux noarch 2:2.107-3.el7 /container-selinux-2.107-
3.el7.noarch 40 k
Transaction Summary
===================================================================================
===========
Install 1 Package
Total size: 40 k
Installed size: 40 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : 2:container-selinux-2.107-3.el7.noarch
1/1
setsebool: SELinux is disabled.
Verifying : 2:container-selinux-2.107-3.el7.noarch
1/1
rhel-7-server-extras-rpms/x86_64/productid | 2.1 kB
00:00:00
Installed:
container-selinux.noarch 2:2.107-3.el7
]#
-----------------------------------------------------------------------------------
------------------------------------------------------
Dependencies Resolved
===================================================================================
===========
Package Arch Version Repository
Size
===================================================================================
===========
Installing:
containerd.io x86_64 1.4.4-3.1.el7 /containerd.io-1.4.4-3.1.el7.x86_64
128 M
Transaction Summary
===================================================================================
===========
Install 1 Package
Installed:
containerd.io.x86_64 0:1.4.4-3.1.el7
Complete!
.#
-----------------------------------------------------------------------------------
-----------------------------------------------------------------
# ls -l
total 169964
-rw-r--r-- 1 root root 27119348 Apr 15 11:26 containerd.io-1.2.6-3.3.el7.x86_64.rpm
-rw-r--r-- 1 root root 35001260 Apr 15 11:26 containerd.io-1.4.4-3.1.el7.x86_64.rpm
-rw-r--r-- 1 root root 40212 Apr 16 07:23 container-selinux-2.107-
3.el7.noarch.rpm
-rw-r--r-- 1 root root 10535546 Apr 15 11:26 docker-ce-19.03.12-3.el7.src.rpm
-rw-r--r-- 1 root root 25285728 Apr 15 11:26 docker-ce-19.03.12-3.el7.x86_64.rpm
-rw-r--r-- 1 root root 27885524 Apr 15 11:26 docker-ce-20.10.6-3.el7.x86_64.rpm
-rw-r--r-- 1 root root 7902990 Apr 15 11:26 docker-ce-cli-19.03.12-3.el7.src.rpm
-rw-r--r-- 1 root root 40252476 Apr 15 11:26 docker-ce-cli-19.03.15-
3.el7.x86_64.rpm
-rw-r--r-- 1 root root 1919 Apr 15 11:26 docker-ce.repo
#
# yum install docker-ce-20.10.6-3.el7.x86_64.rpm
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
Examining docker-ce-20.10.6-3.el7.x86_64.rpm: 3:docker-ce-20.10.6-3.el7.x86_64
Marking docker-ce-20.10.6-3.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package docker-ce.x86_64 3:20.10.6-3.el7 will be installed
--> Processing Dependency: docker-ce-cli for package: 3:docker-ce-20.10.6-
3.el7.x86_64
--> Processing Dependency: docker-ce-rootless-extras for package: 3:docker-ce-
20.10.6-3.el7.x86_64
--> Running transaction check
---> Package docker-ce-cli.x86_64 1:20.10.6-3.el7 will be installed
--> Processing Dependency: docker-scan-plugin(x86-64) for package: 1:docker-ce-cli-
20.10.6-3.el7.x86_64
---> Package docker-ce-rootless-extras.x86_64 0:20.10.6-3.el7 will be installed
--> Processing Dependency: fuse-overlayfs >= 0.7 for package: docker-ce-rootless-
extras-20.10.6-3.el7.x86_64
--> Processing Dependency: slirp4netns >= 0.4 for package: docker-ce-rootless-
extras-20.10.6-3.el7.x86_64
--> Running transaction check
---> Package docker-scan-plugin.x86_64 0:0.7.0-3.el7 will be installed
---> Package fuse-overlayfs.x86_64 0:0.7.2-6.el7_8 will be installed
--> Processing Dependency: libfuse3.so.3(FUSE_3.0)(64bit) for package: fuse-
overlayfs-0.7.2-6.el7_8.x86_64
--> Processing Dependency: libfuse3.so.3(FUSE_3.2)(64bit) for package: fuse-
overlayfs-0.7.2-6.el7_8.x86_64
--> Processing Dependency: libfuse3.so.3()(64bit) for package: fuse-overlayfs-
0.7.2-6.el7_8.x86_64
---> Package slirp4netns.x86_64 0:0.4.3-4.el7_8 will be installed
--> Running transaction check
---> Package fuse3-libs.x86_64 0:3.6.1-4.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===================================================================================
===========
Package Arch Version Repository
Size
===================================================================================
===========
Installing:
docker-ce x86_64 3:20.10.6-3.el7 /docker-ce-20.10.6-
3.el7.x86_64 115 M
Installing for dependencies:
docker-ce-cli x86_64 1:20.10.6-3.el7 docker-ce-stable
33 M
docker-ce-rootless-extras x86_64 20.10.6-3.el7 docker-ce-stable
9.2 M
docker-scan-plugin x86_64 0.7.0-3.el7 docker-ce-stable
4.2 M
fuse-overlayfs x86_64 0.7.2-6.el7_8 rhel-7-server-extras-rpms
55 k
fuse3-libs x86_64 3.6.1-4.el7 rhel-7-server-extras-rpms
82 k
slirp4netns x86_64 0.4.3-4.el7_8 rhel-7-server-extras-rpms
82 k
Transaction Summary
===================================================================================
===========
Install 1 Package (+6 Dependent packages)
Installed:
docker-ce.x86_64 3:20.10.6-3.el7
Dependency Installed:
docker-ce-cli.x86_64 1:20.10.6-3.el7 docker-ce-rootless-extras.x86_64
0:20.10.6-3.el7
docker-scan-plugin.x86_64 0:0.7.0-3.el7 fuse-overlayfs.x86_64 0:0.7.2-6.el7_8
fuse3-libs.x86_64 0:3.6.1-4.el7 slirp4netns.x86_64 0:0.4.3-4.el7_8
Complete!
#
# docker --version
Docker version 20.10.6, build 370c289
#
-----------------------------------------------------------------------------------
---------------------------------------------------------------------