I recently did a big update on my home server and noticed my containerized services weren’t starting up. First, I looked into the Portainer service:
docker stack ps portainer --no-trunc
sudo apt-get update && sudo apt-get install linux-modules-extra-raspi
After that, I got a scary warning about how the new kernel wouldn’t be loaded automatically so I should reboot.
sudo reboot now
Things still weren’t working after I rebooted, but restarting Docker seemed to kick Portainer into motion.
sudo systemctl restart docker