Any docker/containerd experts in the community?
We previously had issues with Mucklet account due to a gateway continuously beings restarted. I resolved that by recreating that docker container.
Now, the same issue has occurred on the gateway for our Test server (which runs the under the same docker daemon). Since the test server is not critical, I thought I’d keep it in this broken state for now, trying to solve the issue behind it.
What I know:
- Docker tries to restart the container every minute.
- The container exists with code 137 (SIGKILL)
OOMKilled
isfalse
, so it is not due to Out Of Memory- When running
journalctl -f -u docker
I get the following logs every time the container is started:Apr 26 07:36:48 mucklet.com dockerd[24915]: time="2025-04-26T07:36:48.420583841+01:00" level=info msg="ignoring event" container=15ffd18c6fa69790585509ce740f5591c6dd4c6608f5661ff179d98e7b2c9adc module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete" Apr 26 07:36:49 mucklet.com dockerd[24915]: time="2025-04-26T07:36:49.233116221+01:00" level=warning msg="failed to delete container from containerd" container=15ffd18c6fa69790585509ce740f5591c6dd4c6608f5661ff179d98e7b2c9adc error="task must be stopped before deletion: running: failed precondition" Apr 26 07:36:51 mucklet.com dockerd[24915]: time="2025-04-26T07:36:51.234370764+01:00" level=error msg="stream copy error: read /proc/self/fd/49: file already closed" Apr 26 07:36:51 mucklet.com dockerd[24915]: time="2025-04-26T07:36:51.234431294+01:00" level=error msg="stream copy error: read /proc/self/fd/135: file already closed" Apr 26 07:36:51 mucklet.com dockerd[24915]: time="2025-04-26T07:36:51.236881572+01:00" level=error msg="15ffd18c6fa69790585509ce740f5591c6dd4c6608f5661ff179d98e7b2c9adc cleanup: failed to delete container from containerd: cannot delete running task 15ffd18c6fa69790585509ce740f5591c6dd4c6608f5661ff179d98e7b2c9adc: failed precondition"
- The container logs (
docker logs <container>
) shows that it starts without issues:realm_test-resgate-1 | 2025/04/26 06:36:49.222363 [INF] Starting resgate version 1.8.0 realm_test-resgate-1 | 2025/04/26 06:36:49.222576 [INF] Connecting to NATS at nats://nats:4222 realm_test-resgate-1 | 2025/04/26 06:36:49.231129 [INF] Listening on http://0.0.0.0:8080 realm_test-resgate-1 | 2025/04/26 06:36:49.231185 [INF] Server ready
Any suggestions?