Home  >  Article  >  Operation and Maintenance  >  How to start docker in centos8

How to start docker in centos8

尚
Original
2020-03-31 14:59:244517browse

How to start docker in centos8

How to start docker in centos8:

After installing docker in centos8, directly use the systemctl start docker command to start docker.

Steps to install docker on centos8:

1. Download docker-ce repo

curl https://download.docker.com/linux/centos/docker-ce.repo -o /etc/yum.repos.d/docker-ce.repo

2. Install dependencies (this is a key step compared to centos7)

yum install https://download.docker.com/linux/fedora/30/x86_64/stable/Packages/containerd.io-1.2.6-3.3.fc30.x86_64.rpm

3. Install docker-ce

yum install docker-ce

Recommended tutorial: centos tutorial

The above is the detailed content of How to start docker in centos8. 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