添加了自定义国内docker源的教程

This commit is contained in:
lzdev 2024-12-11 21:34:35 +08:00
parent d71051dcc4
commit 2bd07e1d0b

View File

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