type
Post
status
Published
date
Dec 13, 2022
slug
summary
docker国内镜像加速
tags
Linux
Docker
category
笔记
icon
password

国内镜像

docker中国区官方镜像加速:

修改文件

vim /etc/docker/daemon.json

添加镜像地址

{ "registry-mirrors": [ "https://ung2thfc.mirror.aliyuncs.com", "https://registry.docker-cn.com", "http://hub-mirror.c.163.com", "https://docker.mirrors.ustc.edu.cn" ] }

重启docker

systemctl daemon-reload
systemctl restart docker
 
禁止飞书更新Golang学习