docker-ce镜像源使用

  • x86_64
  • i386
  • 收录版本

    所有版本

    更新时间

    每24个小时更新


    使用说明

    1.安装docker前的准备工作

    Centos
    删除旧的docker
    yum remove docker docker-common docker-selinux docker-engine
    安装依赖
    yum install -y yum-utils device-mapper-persistent-data lvm2
    Ubuntu/Debian
    删除旧的docker
    apt-get remove docker docker-engine docker.io
    安装依赖
    apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common

    2.根据系统版本选择更新方法

    RHEL/CentOS
    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

    ubuntu14.04 64bit
    curl -s http://mirrors.eflycloud.com/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

    ubuntu16.04 64bit
    curl -s http://mirrors.eflycloud.com/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

    ubuntu18.04 64bit
    curl -s http://mirrors.eflycloud.com/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

    ubuntu20.04 64bit
    curl -s http://mirrors.eflycloud.com/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

    对应版本源文件下载链接

  • docker-ce