我只想指出:我的互联网连接糟透了。因此,我开始推送新图像,情况如下所示:
b57ecdb750f2: Pushing [====> ] 43.57MB/473.9MB 9b7e4da6c261: Pushing [==================================================>] 18.94kB 21d523b40367: Pushed e18c77c6a7b1: Pushing [==================> ] 106.9MB/285.9MB 5ee5be8f332e: Pushed 78a99e283d45: Retrying in 1 second 98b9d6eacb01: Pushing [=========================================> ] 95.06MB/114MB 96e14acce2fd: Retrying in 1 second 787c930753b4: Pushing [==================================================>] 318.3MB/318.3MB 9f17712cba0b: Pushing [=======================> ] 56.9MB/122.6MB 223c0d04a137: Pushing [==================================================>] 45.18MB fe4c16cbf7a4: Preparing
同时推入所有这些层都只是在扼杀我的互联网连接,不允许我进行导航和码头工人抵制,因为其中许多层上载有错误,并一次又一次地重新启动。 有没有办法一次上传单个图层?(顺便说一句,不,请不要更改我的ISP或我的路由器)
在我的Ubuntu中,我添加/etc/docker/daemon.json了:
/etc/docker/daemon.json
{ "max-concurrent-uploads": 1 }
然后sudo service docker restart。像魅力一样工作。
sudo service docker restart