• CentOS7.6三个节点的虚机(VMware-workstation-15.5)
链接:https://pan.baidu.com/s/1eNy-DhiKqb5li_zCqNqwsQ 提取码:dm85
下载后解压到 D:\VM
• 安装docker包
yum install -y yum-utils device-mapper-persistent-data lvm2
yum-config-manager --add-repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
yum makecache fast
yum install docker-ce docker-ce-cli containerd.io -y
• 查看可安装的版本
yum list docker-ce --showduplicates | sort -r
yum list docker --show-duplicates
yum -y install docker-ce-[VERSION]
• 启动docker服务
systemctl enable docker
systemctl start docker
• 查看docker信息
docker system info
docker info
• 运行第一个容器 hello-world
docker run hello-world
如果觉得我的文章对您有用,请点赞。您的支持将鼓励我继续创作!
赞0
添加新评论0 条评论