Docker 推送失败,重定向太多
Docker push fails, too many redirects
我在 dockerhub 上有一个仓库。我已经成功地推动了几次。现在突然推不动了我无法想象小 XML 文件编辑导致了问题,但我不知道它可能是什么。
命令及报错如下:
Pushing tag for rev [6c4dcead2bef] on
{https://cdn-registry-1.docker.io/v1/repositories/lulumialu/titandb/tags/latest}
2015/06/22 13:17:10 Put
https://index.docker.io/v1/repositories/lulumialu/titandb/images: dial
tcp: lookup index.docker.io on [10.0.2.3]:53: too many redirects
经过一些刺激,我想出了一个适合我的解决方案(其他人没有,所以如果你不喜欢这些,试试这个)。它似乎在重启后仍然存在,因此也稍微减轻了痛苦。
$ VBoxManage controlvm "boot2docker-vm" poweroff
$ VBoxManage modifyvm "boot2docker-vm" --natdnshostresolver1 off
更多信息在这里:https://www.virtualbox.org/manual/ch09.html#nat_host_resolver_proxy
我在 dockerhub 上有一个仓库。我已经成功地推动了几次。现在突然推不动了我无法想象小 XML 文件编辑导致了问题,但我不知道它可能是什么。
命令及报错如下:
Pushing tag for rev [6c4dcead2bef] on {https://cdn-registry-1.docker.io/v1/repositories/lulumialu/titandb/tags/latest} 2015/06/22 13:17:10 Put https://index.docker.io/v1/repositories/lulumialu/titandb/images: dial tcp: lookup index.docker.io on [10.0.2.3]:53: too many redirects
经过一些刺激,我想出了一个适合我的解决方案(其他人没有,所以如果你不喜欢这些,试试这个)。它似乎在重启后仍然存在,因此也稍微减轻了痛苦。
$ VBoxManage controlvm "boot2docker-vm" poweroff
$ VBoxManage modifyvm "boot2docker-vm" --natdnshostresolver1 off
更多信息在这里:https://www.virtualbox.org/manual/ch09.html#nat_host_resolver_proxy