ubuntu centos 安装docker ce 依赖清华大学镜像

apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common libltdl7

amd 64

wget https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/ubuntu/dists/xenial/pool/stable/amd64/docker-ce_17.06.2~ce-0~ubuntu_amd64.deb

dpkg -i docker-ce_17.06.2~ce-0~ubuntu_amd64.deb

开发板子

wget  https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/ubuntu/dists/xenial/pool/stable/armhf/docker-ce_17.06.2~ce-0~ubuntu_armhf.deb

rpm
-vh:显示安装进度;
-e 卸载rpm包
-i 安装rpm包
-u 升级rpm包

rpm -ivh https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/7/x86_64/stable/Packages/docker-ce-17.06.2.ce-1.el7.centos.x86_64.rpm


你可能感兴趣的:(杂文)