首页  :: 新随笔  :: 管理

centos 7.5安装docker-CE 18

Posted on 2018-09-26 14:43  季枫  阅读(755)  评论(0编辑  收藏  举报

1、查看系统版本

cat /etc/centos-release
CentOS Linux release 7.5.1804 (Core)
uname -r
3.10.0-862.el7.x86_64

2、安装yum源

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

  如果找不到yum-config-manager:yum -y install yum-utils

3、更新源

yum makecache

4、安装docker-ce

yum install -y docker-ce

5、启动和停止服务

systemctl start docker
systemctl stop docker

  

  采用官方方式安装compose

https://www.imooc.com/article/22933

https://www.cnblogs.com/jifeng/p/10339799.html

智读 | 成都会领科技有限公司官网 | 智读App下载 | 每天听本书的博客 | |