Leif160519的blog Leif160519的blog

——————

目录
Centos 7.5 安装Docker 18
/    

Centos 7.5 安装Docker 18

1、查看CentOS7内核

uname -r

3.10.0-862.el7.x86_6412

2、添加Docker源

yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo

3、更新源

yum makecache

4、安装docker-ce

yum install -y docker-ce

5、启动Docker

systemctl start docker
systemctl enable docker

6、查看版本

docker version

Client:
Version: 18.06.0-ce
API version: 1.38
Go version: go1.10.3
Git commit: 0ffa825
Built: Wed Jul 18 19:08:18 2018
OS/Arch: linux/amd64
Experimental: false
Server:
Engine:
Version: 18.06.0-ce
API version: 1.38 (minimum version 1.12)
Go version: go1.10.3
Git commit: 0ffa825
Built: Wed Jul 18 19:10:42 2018
OS/Arch: linux/amd64
Experimental: false


“The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time.” – Tom Cargill

标  题Centos 7.5 安装Docker 18
作  者Leif160519
出  处https://github.icu/articles/2019/08/29/1567039838286.html
关于博主:坐标六朝古都南京,服务器运维工程师+桌面运维工程师,如有问题探讨可以直接下方留言。
声援博主:如果您觉得文章对您有帮助,可以评论、订阅、收藏。您的鼓励是博主的最大动力!