每当我推送更大的 docker 图像时,我都会遇到读取超时。当我再次尝试推送时,我收到“正在进行中”的消息。
我在 osx (virtualbox) 上使用 docker-machine。
这让我相信图像正在后台推送,但我与 VM 的连接已超时。这似乎仅适用于较大的图像。
如何为 linux 命令行 docker 客户端设置读取超时?
docker push repository.com/thing
Image f7a77fb0b14d already pushed, skipping
Image 01e40c794f94 already pushed, skipping
Image 7547e52aac4b already pushed, skipping
HTTPSConnectionPool(host='192.168.99.101', port=2376): Read timed out.
docker push repository.com/thing
Sending image list
push repository.com/thing is already in progress