阿里云安装docker

yum更新

yum update
yum install epel-release -y
yum clean all
yum list

安装并运行docker

yum install docker-io -y
systemctl start docker

检查安装结果

docker -v
docker info

启动docker

systemctl start docker  # 运行docker的守护进程

重启docker

systemctl restart docker

关闭docker

systemctl stop docker
posted @ 2023-11-05 08:40  清风吹拂啊狂风肆虐  阅读(31)  评论(0编辑  收藏  举报