1. 问题
镜像依赖于http://docker.io/almalinux,最近构建时网络有些问题
failed to do request: Head "https://registry-1.docker.io/
2. 替换国内镜像源
系统为CentOS 7,修改/etc/docker/daemon.json
{"registry-mirrors":["http://hub-mirror.c.163.com"]}
重启docker
systemctl daemon-reload
systemctl restart docker
网友评论