docker的安装

下载软件包
$ sudo yum install -y yum-utils \
device-mapper-persistent-data \
lvm2

安装docker
sudo yum install docker

验证是否成功安装
docker version
or
docker info

 

启动Docker-CE
$ sudo systemctl enable docker
$ sudo systemctl start docker


sudo systemctl enable docker
sudo: systemctl: command not found

posted @ 2019-07-15 16:24  巴黎爱工作  阅读(234)  评论(0编辑  收藏  举报