Centos下安装Docker

Centos6

#安装
rpm -ivh http://dl.Fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum install -y docker-io
#启动
service docker start
#检查
docker version

Centos7

#安装
yum install -y docker
#启动
service docker start
#检查
docker version
posted @ 2020-10-16 17:29  stsinghua  阅读(77)  评论(0编辑  收藏  举报