1. Docker rpm download
(Recommended tutorial: docker tutorial)
You need to download two rpms to install docker File:
1、docker-engine-1.13.1-1.el7.centos.x86_64.rpm
2、docker-engine-selinux-1.13.1-1.el7.centos .noarch.rpm
2. The command to install docker
Enter the following command:
$ sudo yum -y localinstall docker-engine-selinux-1.13.1-1.el7.centos.noarch.rpm $ sudo yum -y localinstall docker-engine-1.13.1-1.el7.centos.x86_64.rpm12
3. Check whether docker is installed
Enter the following command:
docker version
The terminal output is as follows:
Client: Version: 1.13.1 API version: 1.26123
The above is the detailed content of Install docker in rpm mode. For more information, please follow other related articles on the PHP Chinese website!