thecrater
Posts: 3
Joined: Sun Jun 21, 2020 3:35 pm

Raspberry Pi 4 with Docker and SSD boot Freeze

Sun Aug 09, 2020 10:54 pm

Hello all,
I've recently purchased a Raspberry Pi 4 running Raspberry Pi OS lite (32bit) and I managed to get it to boot from an external SSD drive. It is really fast and the performance is good. I installed Docker and I'm running 18 containers which run absolutely fine. If I reboot the device reboots successfully and I can SSH into it etc after reboot. However, if I shutdown (shutdown -h now), when I boot it up again, it manages to boot up but it feels like as it starts containers it freezes. I managed to SSH and stop all containers and then ran "systemctl disable docker" and I was able to shutdown and boot up again. I then enabled Docker again and only started 1 container and I was able to get it to boot up again.

How can I diagnose this to identify if it is one specific container that pushes the Pi over the edge causing it to freeze? I tried testing the containers one by one but it seems random so I don't think it's one specific container but perhaps a combination of things.

thecrater
Posts: 3
Joined: Sun Jun 21, 2020 3:35 pm

Re: Raspberry Pi 4 with Docker and SSD boot Freeze

Mon Aug 10, 2020 9:03 pm

Just wanted to add that it does the same thing when rebooting as well. I thought it worked when rebooting.

Return to “Troubleshooting”