尝试运行一个100mb的小型docker镜像。最终它确实可以运行,但是大约需要5分钟才能成功运行。当它运行时,会出现以下错误:
time="2018-09-25T10:20:28+01:00" level=error msg="error waiting for container: error during connect: Post http://XYZ/v1.32/containers/933e895a7a1429199f053ab6f384589307c927ebe9833f368352e196246308a0/wait?condition=next-exit: EOF"
我已经用谷歌搜索了,它似乎没有出现在搜索结果中。有什么办法可以找出正在发生的事情吗?
最佳答案
从提供的URL:
http://XYZ/v1.32/containers/{...container_ID...}/wait?condition=next-exit
一个人可能会认为,导致您出现此错误的原因是尝试与Docker Engine API进行通信,更具体地说是与this端点进行通信:...但是有连接问题。
关于docker - Docker在运行中停顿-等待条件退出,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/52495346/