尝试运行一个小的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引擎API对话,更具体地说是与Docker引擎API对话 this 终结点:
POST /containers/{id}/wait 等待容器 直到容器停止,然后返回退出代码。 查询参数: condition string "not-running" 'not-running' (默认), 'next-exit' ,或 'removed' .
POST /containers/{id}/wait
直到容器停止,然后返回退出代码。
查询参数:
condition string "not-running"
'not-running' (默认), 'next-exit' ,或 'removed' .
'not-running'
'next-exit'
'removed'
…但是有个连接问题。