dockerode icon indicating copy to clipboard operation
dockerode copied to clipboard

container.wait() resolves early when using Podman

Open nabhiraj opened this issue 6 months ago • 0 comments

When using Dockerode with Podman (via podman.sock), I noticed that container.wait() sometimes resolves before the container has actually exited. This leads to subsequent code executing under the false assumption that the container has stopped, even though it is still in the "running" state.

this does not happen everytime. most of the time is resolved correctly. this is kind of similar to https://github.com/apocas/dockerode/issues/569 but happens for podman.

nabhiraj avatar May 25 '25 20:05 nabhiraj