This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script is for Ubuntu 16.04 (xenial) | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - | |
cat <<EOF >/etc/apt/sources.list.d/docker.list | |
deb https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu/ xenial stable | |
EOF | |
# from https://yq.aliyun.com/articles/66474 | |
curl https://mirrors.aliyun.com/kubernetes/apt/doc/apt-key.gpg | apt-key add - | |
cat <<EOF >/etc/apt/sources.list.d/kubernetes.list |