docker-py icon indicating copy to clipboard operation
docker-py copied to clipboard

Failed to pause container, the status still running but can't use/exec to the container

Open fikrapdso opened this issue 1 year ago • 1 comments

I am not sure this is the right place to submit this error.

SDK: aiodocker = 0.21.0 docker = 24.0.7 python =3.10

I received this error when try to .pause() using aiodocker. This does not always happen, only once or twice in a year.

Error: DockerError(500, 'cannot pause container c97b1e5ec84b9d7f34b783ff490fdc0b66532d593a029254923175bfe8d236ca: OCI runtime pause failed: failed to notify pause to sysbox-mgr: failed to invoke Pause via grpc: rpc error: code = DeadlineExceeded desc = context deadline exceeded: unknown')

It also had side effects that I can't do exec on this container. Unfortunately, I have no logs for it, because I already deleted and start new container.

I assume the docker already pauses the lab but failed to update the status on sysbox-mgr so there is a miss match on status and the actual state of container. So that's might be the reason I can't exec to the container.

fikrapdso avatar Nov 12 '24 07:11 fikrapdso