mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-12-25 14:38:54 +00:00
Fix error in daemon json
This commit is contained in:
parent
1d06af72da
commit
5ed1521c6a
@ -29,7 +29,7 @@ $ sudo service docker restart
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"registry-mirrors": [
|
"registry-mirrors": [
|
||||||
"https://registry.docker-cn.com",
|
"https://registry.docker-cn.com"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@ -62,7 +62,7 @@ $ sudo systemctl restart docker
|
|||||||
|
|
||||||
### 检查加速器是否生效
|
### 检查加速器是否生效
|
||||||
|
|
||||||
配置加速器之后,如果拉取镜像仍然十分缓慢,请手动检查加速器配置是否生效,在命令行执行 `$ docker info`,如果从结果中看到了如下内容,说明配置成功。
|
配置加速器之后,如果拉取镜像仍然十分缓慢,请手动检查加速器配置是否生效,在命令行执行 `docker info`,如果从结果中看到了如下内容,说明配置成功。
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
Registry Mirrors:
|
Registry Mirrors:
|
||||||
|
Loading…
Reference in New Issue
Block a user