阿里 docker-ce
apt-get update
apt-get -y install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | apt-key add -
add-apt-repository “deb [arch=amd64] https://mirrors.aliyun.com/docker-ce/linux/ubuntu $(lsb_release -cs) stable”
apt-get update
apt-get -y install docker-ce
阿里 k8s
echo “deb http://mirrors.aliyun.com/kubernetes/apt kubernetes-xenial main” > /etc/apt/sources.list.d/ali-k8s.list
curl https://mirrors.aliyun.com/kubernetes/apt/doc/apt-key.gpg | apt-key add -
apt-cache madison kubelet
apt-cache madison kubectl
apt-cache kubernetes-cni
apt-get install kubectl=1.16.0-00
