My_diary/Docker 镜像源解决方案.md

29 lines
310 B
Markdown
Raw Normal View History

# Docker 镜像源解决方案
---
## Docker 镜像源解决方案
### 编辑daemon.json
```shekk
vim /etc/docker/daemon.json
```
### 配置腾讯云代理
```shell
{
"registry-mirrors": [
"https://mirror.ccs.tencentyun.com"
]
}
```
### 重启docker
```shell
sudo systemctl restart docker
```