Information
The '--live-restore' enables full support of daemon-less containers in docker. It ensures that docker does not stop containers on shutdown or restore and properly reconnects to the container when restarted.
Rationale:
One of the important security triads is availability. Setting '--live-restore' flag in the docker daemon ensures that container execution is not interrupted when the docker daemon is not available. This also means that it is now easier to update and patch the docker daemon without execution downtime.
Solution
Run the docker in daemon mode and pass '--live-restore' as an argument.
For Example,
dockerd --live-restore
Impact:
None.
Default Value:
By default, --live-restore is not enabled.