2.15 Ensure live restore is enabled

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

The --live-restore option enables full support of daemon-less containers within Docker. It ensures that Docker does not stop containers on shutdown or restore and that it properly reconnects to the container when restarted.

Rationale:

One of the important security triads is availability. Setting the --live-restore flag within the Docker daemon ensures that container execution is not interrupted when it is not available. This also makes it easier to update and patch the Docker daemon without application downtime.

Impact:

None.

Solution

Run Docker in daemon mode and pass --live-restore to it as an argument.
For Example,

dockerd --live-restore

Default Value:

By default, --live-restore is not enabled.

See Also

https://workbench.cisecurity.org/files/3353