Docker4:配置阿里云镜像加速器

Docker4:配置阿里云镜像加速器

Created
Nov 16, 2021 08:12 AM
Last Edited
Last updated December 2, 2021
Tags

登录阿里云

notion image
 
notion image
 
# 1. 创建配置文件 sudo mkdir -p /etc/docker # 2. 输入配置信息 sudo tee /etc/docker/daemon.json <<-'EOF' { "registry-mirrors": ["https://aq9oemyf.mirror.aliyuncs.com"] } EOF # 3. 重启Docker服务 sudo systemctl daemon-reload sudo systemctl restart docker
notion image