Home > Operation and Maintenance > Linux Operation and Maintenance > How to install docker in linux environment

How to install docker in linux environment

王林
Release: 2020-03-24 17:52:55
Original
2449 people have browsed it

How to install docker in linux environment

Docker requires that the CentOS kernel version must be higher than 3.10. Now we check the kernel version number.

Command:

uname -a
Copy after login

How to install docker in linux environment

If the kernel version is smaller than this version, please upgrade the software package and kernel.

Command:

yum update
Copy after login

How to install docker in linux environment

(Related video tutorial recommendation: linux video tutorial)

Install docker using command (Network)

yum install docker
Copy after login

How to install docker in linux environment

Next use the command to start docker.

systemctl start docker
Copy after login

How to install docker in linux environment

Recommended tutorial: linux tutorial

The above is the detailed content of How to install docker in linux environment. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
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