Docker Community Forums

Share and learn in the Docker community.

Docker freezing and unable to uninstall. Forcing complete system wipe

Twice now I’ve installed docker on a raspberry pi 4 and twice now it’s gotten completely hosed after a day. I’m running Ubuntu 20.04.1 LTS.

I’m not sure what’s causing it, but I’ll get everything up and running and then the next day my docker services are down and running “sudo docker ps” just hangs forever. Trying to uninstall it will also hang forever when trying to remove docker-ce. I was completely unable to get around this the first time, so I just started from scratch and now after a day of running the same thing is happening. I’m not really sure where to even start with this one.

Seems like this is what’s happening to me:

So I guess docker just doesn’t work on some kernels? Seems like it’s kind of a pain to update the kernel on the raspberry pi, so I guess I just won’t use docker.

I’ve been running Raspbian on a Raspberry Pi 3 for quite a while now. It’s running Docker to host pihole for my home network, and I’ve had no problems with it. You might want to give it a try.

Install Docker & Enable Hyper-V and wait for a random freeze to occur.
Is the problem new? Ongoing for months
Did the problem appear with an update? No
Windows Version: 1803
Docker for Windows Version: 18.09.2
Steps to reproduce the behavior
Install Docker for Windows
Enable Hyper-V manually or through installation wizard
While Docker is running day-to-day, I randomly experience freezes that require me to manually restart my PC via power button.
When I’ve uninstalled Docker and disabled hyper-v this problem disappeared. So I know it’s to do with docker/hyper-v.

It just started happening when I upgraded to Ubuntu 20.04 LTS. I was on 19 something before I think.

Both times that it started freezing, it worked fine for one night and then the next day I couldn’t install or uninstall docker-ce.

Pretty sure it’s either a kernel bug or a bug in docker with the kernel, because everything I found online said you could fix it by upgrading the kernel. It was easier to just not use docker in my case though.

I was running bitwarden_rs with it in case that helps anything.