Before everything, please note:
- This is a tech doc only for Pros
- This does not apply to Firewalla Red, Blue, and Blue plus
To limit the storage docker service might take, Firewalla has a reserved/limited space for docker on /var/lib/docker, which is 3.4G for now. When you have multiple containers or multiple versions of container in play, docker will eat up that reserved space and starts functioning incorrectly, and eventually refuse to start its own. And here's how you could free up the space and bring up docker service again.
*** be aware that the following commands will delete all data in your docker containers ***
Also, be very careful as it's done as root so you could damage your system without any warning
sudo su -
systemctl stop docker-compose@*
systemctl stop docker
rm -rf overlay2/*
systemctl start docker
sudo docker system prune -a
Before rebuilding your docker containers again, you might want to check our guide on each of our officially supported applications and update your docker-compose file if there's any suggested change.
Now, go to your docker folders under ~/.firewalla/run/docker and rebuild your containers by running "docker-compose -d" in each of the container folders. And everything should back to normal.
Please sign in to leave a comment.