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 33ae5e8 commit e3269f1Copy full SHA for e3269f1
linux/docker.sh
@@ -4,3 +4,14 @@ wget -O /etc/yum.repos.d/docker-ce.repo https://repo.huaweicloud.com/docker-ce/l
4
yum makecache fast
5
yum install -y docker-ce
6
kill -TERM 1
7
+sudo mkdir -p /etc/docker
8
+sudo tee /etc/docker/daemon.json <<-'EOF'
9
+{
10
+ "registry-mirrors": [
11
+ "https://hub-mirror.c.163.com",
12
+ "https://mirror.baidubce.com"
13
+ ]
14
+}
15
+EOF
16
+sudo systemctl daemon-reload
17
+sudo systemctl restart docker
0 commit comments