I just discovered that
service docker stop on Ubuntu 18.04 doesn't shutdown all running containers. I can't control them anymore but the
containerd-ship processes and everything that's inside the containers is still running (but not reachable though, maybe because the network was removed).
Also, stopping containerd doesn't change anything because by design this doesn't stop the containers.
And even after
killall containerd-shim which is already quite harsh, some processes are still running, like
gunicorn from gitlab, backuppc, and a Linux UML instance
How do I do a clean shutdown of all running containers? The current behaviour is responsible that my system hangs while shutting down.
Update: I just saw that I'm using the repo (https://download.docker.com/linux/ubuntu) which comes from a Kubernetes tutorial (which I don't use yet). This source brings proprietary versions of containerd.io, docker-ce and docker-ce-cli