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.
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.
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.