Skip to main content

Docker 基础

Docker 安装

Docker 换源

vi /etc/docker/daemon.json
# 添加如下内容
{
"registry-mirrors": [
"https://docker.m.daocloud.io",
"https://docker.imgdb.de",
"https://docker-0.unsee.tech",
"https://docker.hlmirror.com",
"https://docker.1ms.run",
"https://func.ink",
"https://lispy.org"
]
}

重启 docker 服务

systemctl daemon-reload && systemctl restart docker
Buy me a coffee ☕:
This article is licensed under CC 4.0 BY-SA