Keep Containers Alive¶
As we know, the Docker daemon shuts down all running containers during daemon downtime. Starting with Docker Engine 1.12, users can configure the daemon so that containers remain running when the docker service becomes unavailable. This functionality is called live restore. You can read more about Live Restore here.
Installation with DevStack¶
It is possible to keep containers alive. Follow the Developer Quick-Start to download DevStack, Zun code and copy the local.conf file. Now perform the following steps to install Zun with DevStack:
echo "ENABLE_LIVE_RESTORE=true" >> local.conf
Verify the installation by:
$ sudo docker info | grep "Live Restore"
Live Restore Enabled: true