May 10, 2022 - Reading time: ~1 minute
Docker is a software system for creating and running containers.
docker system prune -a
docker run -it \
-p 70:70 \
-d \
$(docker build -q .)
You can prevent this by writing SystemD service files that restarts your containers when they die. In this scenario, SystemD acts as a watchdog. You can also observe the container states and logs via SystemD if you do this.