添加了自定义国内docker源的教程
This commit is contained in:
parent
d71051dcc4
commit
2bd07e1d0b
28
Docker 镜像源解决方案.md
Normal file
28
Docker 镜像源解决方案.md
Normal 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
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user