mirror of
https://github.com/dqzboy/Docker-Proxy.git
synced 2026-01-12 16:25:42 +08:00
7 lines
468 B
JSON
7 lines
468 B
JSON
{
|
|
"title": "Docker 配置镜像加速",
|
|
"content": "# Docker 配置镜像加速\n\n- 修改文件 `/etc/docker/daemon.json`(如果不存在则创建)\n\n```\nsudo mkdir -p /etc/docker\nsudo vi /etc/docker/daemon.json\n{\n \"registry-mirrors\": [\"https://<代理加速地址>\"]\n}\n\nsudo systemctl daemon-reload\nsudo systemctl restart docker\n```",
|
|
"published": true,
|
|
"createdAt": "2025-04-01T21:27:21.591Z",
|
|
"updatedAt": "2025-05-10T06:21:33.539Z"
|
|
} |