Install docker in rpm mode

王林
Release: 2020-08-17 17:16:02
forward
3452 people have browsed it

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
Copy after login

3. Check whether docker is installed

Enter the following command:

docker version
Copy after login

The terminal output is as follows:

Client:  
Version:  1.13.1 
API version: 1.26123
Copy after login

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!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template