所有版本
每24个小时更新
删除旧的docker
yum remove docker docker-common docker-selinux docker-engine
安装依赖
yum install -y yum-utils device-mapper-persistent-data lvm2Ubuntu/Debian
删除旧的docker
apt-get remove docker docker-engine docker.io
安装依赖
apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common
wget -O /etc/yum.repos.d/docker-ce.repo http://mirrors.eflycloud.com/repo/docker-ce/centos/docker-ce.repo
yum clean all
yum makecache
curl -s http:/121.201.52.103/docker-ce/linux/ubuntu/gpg | sudo apt-key add -
wget -O /etc/apt/sources.list.d/docker-ce.list http://mirrors.eflycloud.com/repo/docker-ce/ubuntu14.04x32/docker-ce.list
温馨提示:ubuntu14安装docker-ce时会出现dkpg bug,解决方法详情:官网下载bug修复版的代码dpkg https://launchpad.net/ubuntu/+source/dpkg/1.17.5ubuntu5.8 安装依赖apt-get install libncurses-dev 最后源码安装dkpg即可
apt-get update
curl -s http:/121.201.52.103/docker-ce/linux/ubuntu/gpg | sudo apt-key add -
wget -O /etc/apt/sources.list.d/docker-ce.list http://mirrors.eflycloud.com/repo/docker-ce/ubuntu14.04x64/docker-ce.list
apt-get update
curl -s http:/121.201.52.103/docker-ce/linux/ubuntu/gpg | sudo apt-key add -
wget -O /etc/apt/sources.list.d/docker-ce.list http://mirrors.eflycloud.com/repo/docker-ce/ubuntu16.04x32/docker-ce.list
apt-get update
curl -s http:/121.201.52.103/docker-ce/linux/ubuntu/gpg | sudo apt-key add -
wget -O /etc/apt/sources.list.d/docker-ce.list http://mirrors.eflycloud.com/repo/docker-ce/ubuntu18.04x32/docker-ce.list
apt-get update
curl -s http:/121.201.52.103/docker-ce/linux/ubuntu/gpg | sudo apt-key add -
wget -O /etc/apt/sources.list.d/docker-ce.list http://mirrors.eflycloud.com/repo/docker-ce/ubuntu20.04x32/docker-ce.list
apt-get update
对应版本源文件下载链接