type
Post
status
Published
date
Nov 16, 2022
slug
docker-one-click-to-change-china-sources
summary
Docker一键更新国内源
tags
思考
建站
Docker
category
技术分享
icon
password
Property
Nov 17, 2022 06:01 AM
Language
echo >/etc/docker/daemon.json
cat>/etc/docker/daemon.json <<END
{
"registry-mirrors": [
"https://hub-mirror.c.163.com",
"https://ustc-edu-cn.mirror.aliyuncs.com",
"https://ghcr.io",
"https://mirror.baidubce.com"
]
}
END
systemctl restart docker
- Author:Qi
- URL:https://blog.ltq.im/article/docker-one-click-to-change-china-sources
- Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!
Relate Posts
2025-11-20
解决Docker用户权限报错”
the attribute version is obsolete, it will be ignored, please remove it to avoid potential confusion
unable to get image 'redis:alpine': permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.51/images/redis:alpine/json": dial unix /var/run/docker.sock: connect: permission denied
”
2022-11-28
OVH KS-LE1 法国测评
2022-11-30
How to Install or Upgrade PHP 8.1 on Debian
2022-11-22
测试bash
2022-11-28
prohosting.de测评
2022-11-30
Bloom测评