提交 bfe643d9 编写于 作者: 6 635677437d755007c09848d3

replase source

上级 414496fc
......@@ -3,7 +3,12 @@ if [ ! -f /usr/bin/pip3.8 ]; then
fi
if [ ! -f /usr/bin/docker ]; then
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
apt update
apt install apt-transport-https ca-certificates curl software-properties-common -y
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
add-apt-repository "deb [arch=amd64] https://mirrors.aliyun.com/docker-ce/linux/ubuntu $(lsb_release -cs) stable"
apt update
apt-get -y install docker-ce
tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://o4omo0yw.mirror.aliyuncs.com"]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册