Docker installation and image accelerator configuration and quick start

1. Docker installation

Docker is divided into two versions: CE and EE. CE stands for Community Edition (free of charge, with a support period of 7 months), and EE stands for Enterprise Edition, emphasizing security, paid use, and a support period of 24 months.

Docker CE is divided into three update channels: stable, test, and nightly, and a stable version (18.09, 19.03, 19.09...) is released every six months.

1. Install Docker CE on CentOS

Docker CE supports the 64-bit version of CentOS 7, and requires a kernel version not lower than 3.10. CentOS 7 meets the minimum kernel requirements. If you have installed docekr or an old version of docker before, it is recommended to uninstall it first. The old version of Docker is called docker or docker-engine, use the following command to uninstall the old version:

[root@localhost ~]# yum remove docker \
                  docker-client \
                  docker-client-latest \
                  docker-common \
                  docker-latest \
                  docker-latest-logrotate \
                  docker-logrotate \
                  docker-selinux \
                  docker-engine-selinux \
                  docker-engine

Next, use yum to install Docker CE online, and execute the following command to install dependent packages:

[root@localho

Guess you like

Origin blog.csdn.net/qq_35029061/article/details/132014764