From 2bd07e1d0bb1d7d3eaf5e3e2dbbc6c12a7696f8e Mon Sep 17 00:00:00 2001 From: lzdev Date: Wed, 11 Dec 2024 21:34:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BA=86=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E5=9B=BD=E5=86=85docker=E6=BA=90=E7=9A=84=E6=95=99?= =?UTF-8?q?=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Docker 镜像源解决方案.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Docker 镜像源解决方案.md diff --git a/Docker 镜像源解决方案.md b/Docker 镜像源解决方案.md new file mode 100644 index 0000000..8243d00 --- /dev/null +++ b/Docker 镜像源解决方案.md @@ -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 +``` +