439 shaares
38 private links
38 private links
By default, when the Docker daemon terminates, it shuts down running containers. You can configure the daemon so that containers remain running if the daemon becomes unavailable. This functionality is called live restore. The live restore option helps reduce container downtime due to daemon crashes, planned outages, or upgrades.
/etc/docker/daemon.json
:
{
"live-restore": true
}