标签:linu .repo 分享 class load ble 仓库 centos doc
本书记录是参考 《Spring Cloud 与 Docker 微服务架构实战(第二版)》这本书实现的。
记录简单几个命令,安装顺序如下:
1. 安装docker所需的包
sudo yum install -y yum-utils device-mapper-persistent-data lvm2
2.安装stable仓库
sudo yum-config-manager \ --add-repo \ https://download.docker.com/linux/centos/docker-ce.repo
3.安装docker-ce,先更新yum 的包索引
sudo yum makecache fast
4.执行安装
sudo yum install docker-ce
5.启动docker
sudo systemctl start docker
6.验证安装是否正确
sudo docker run hello-world
标签:linu .repo 分享 class load ble 仓库 centos doc
原文地址:https://www.cnblogs.com/panzi/p/9473666.html