We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7e7976 commit 2be0bfdCopy full SHA for 2be0bfd
linux/docker-debain.sh
@@ -1,7 +1,7 @@
1
echo "删除旧版docker"
2
-apt-get remove docker docker-engine docker.io
+apt-get remove -y docker docker-engine docker.io
3
echo "更新docker镜像并下载docker"
4
-apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common
+apt-get install -y apt-transport-https ca-certificates curl gnupg2 software-properties-common
5
curl -fsSL https://repo.huaweicloud.com/docker-ce/linux/debian/gpg | apt-key add -
6
add-apt-repository "deb [arch=amd64] https://repo.huaweicloud.com/docker-ce/linux/debian $(lsb_release -cs) stable"
7
apt-get update -y
0 commit comments