Skip to content

Commit 7379fa2

Browse files
authored
Modify Docker daemon.json for new registry mirrors
Updated Docker configuration to use a new registry mirror.
1 parent d478e4a commit 7379fa2

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -186,12 +186,13 @@ service docker start
186186
#### 3.1.4 配置 Docker 加速镜像(可选)
187187

188188
```bash
189-
sudo tee /etc/docker/daemon.json <<EOF
189+
sudo mkdir -p /etc/docker
190+
191+
sudo tee /etc/docker/daemon.json > /dev/null <<EOF
190192
{
191-
"registry-mirrors": [
192-
"https://docker.mirrors.aster.edu.pl",
193-
"http://hub.imoyuapp.win"
194-
]
193+
"registry-mirrors": [
194+
"https://hub.bwg.imoyuapp.win"
195+
]
195196
}
196197
EOF
197198

0 commit comments

Comments
 (0)