我正在尝试在我的 MAC 上安装 Docker。我收到以下问题
predix-docker xxxxxx $ docker pull nginx
Using default tag: latest
latest: Pulling from library/nginx
968c69f18673: Pulling fs layer
963493e54e68: Layer already being pulled by another client. Waiting.
755b4eb93a9e: Layer already being pulled by another client. Waiting.
f3b2532b0301: Layer already being pulled by another client. Waiting.
f3bf4daa2ff2: Layer already being pulled by another client. Waiting.
6685b2154893: Layer already being pulled by another client. Waiting.
a2295636c7aa: Already exists
3035387b9e83: Already exists
Pulling repository docker.io/library/nginx
Tag latest not found in repository docker.io/library/nginx
当我检查 Docker 映像时,我没有找到 nginx 存储库。怎么下载,求大神帮忙。
这是您这边的一个本地问题:
尝试删除图像 (
docker rmi nginx
) 并再次拉动它。此外,看起来您正在运行并发拉取。
看起来 Docker 以错误的方式处理网络错误。例如,DNS 超时可能会报告为“未找到标记 xxx”。这就是为什么错误可能是间歇性的。看过几次,将 DNS 服务器更改为 google DNS (8.8.8.8) 并等待几分钟为我修复了这个 docker 错误。