docker / hub-feedback

Feedback and bug reports for the Docker Hub
https://hub.docker.com
235 stars 39 forks source link

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

Closed fikrapdso closed 1 week ago

fikrapdso commented 1 week ago

I received this error when try to pause using docker-py. 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.