安装docker-ce最新版本

移除当前版本:docker-ce版本
rpm -qa | grep docker|xargs yum remove -y
安装最新版本:
curl -fsSL https://get.docker.com/ | sh

离线包下载:https://download.docker.com/linux/centos/7/x86_64/stable/Packages/
一共三个安装文件:
yum localinstall -y
>> docker-ce-20.10.8-3.el7.x86_64.rpm
>> docker-ce-cli-20.10.8-3.el7.x86_64.rpm
>> docker-ce-rootless-extras-20.10.8-3.el7.x86_64.rpm

docker-compose

https://github.com/docker/compose/releases?after=1.28.1