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

How to install docker in linux environment

王林
王林Original
2020-03-24 17:52:552355browse

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

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

How to install docker in linux environment

(Related video tutorial recommendation: linux video tutorial)

Install docker using command (Network)

yum install docker

How to install docker in linux environment

Next use the command to start docker.

systemctl start docker

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!

Statement:
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