centos8安裝docker的時候非常蛋疼呜舒,有一步需要自己去下載,特此記錄一下
- 下載docker-ce的repo
curl https://download.docker.com/linux/centos/docker-ce.repo -o /etc/yum.repos.d/docker-ce.repo
- 安裝依賴
yum install https://download.docker.com/linux/fedora/30/x86_64/stable/Packages/containerd.io-1.2.6-3.3.fc30.x86_64.rpm
- 安裝docker-ce
yum install docker-ce
- 啟動docker
systemctl start docker