Home>Article>Operation and Maintenance> Install docker in rpm mode

Install docker in rpm mode

王林
王林 forward
2020-08-17 17:15:23 3342browse

Install docker in rpm mode

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!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete