安装docker 19.03.9和docker-compose

1.安装Docker

Docker rpm包地址:

https://download.docker.com/linux/centos/7/x86_64/stable/Packages/

yum localinstall -y https://download.docker.com/linux/centos/7/x86_64/stable/Packages/docker-ce-cli-19.03.9-3.el7.x86_64.rpm \
https://download.docker.com/linux/centos/7/x86_64/stable/Packages/containerd.io-1.2.6-3.3.el7.x86_64.rpm \
https://download.docker.com/linux/centos/7/x86_64/stable/Packages/docker-ce-19.03.9-3.el7.x86_64.rpm

2.安装docker-compose

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade pip
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple  docker-compose

你可能感兴趣的:(安装docker 19.03.9和docker-compose)