Docker
安装
1. 源码安装
TODO...
2. yum安装1
# 更新yum
yum update
# 安装工具包
yum install -y yum-utils
# 建立Docker仓库 (映射仓库地址)
yum-config-manager \
--add-repo \
https://download.docker.com/linux/centos/docker-ce.repo
# 安装Docker引擎
yum install docker-ce docker-ce-cli containerd.io
# 启动Docker
systemctl start docker
# 检查Docker是否正常
docker run hello-world
# 列表中存在hello-world则表示正常
docker ps
大约 1 分钟