---
title: The Docker daemon should have live restore enabled
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Datadog Security > OOTB Rules > The Docker daemon should have live
  restore enabled
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# The Docker daemon should have live restore enabled
Classification:complianceFramework:cis-dockerControl:2.16 
## Description{% #description %}

The Docker daemon should keep containers running while it restarts.

## Rationale{% #rationale %}

With live restore, the containers keep running while the daemon stops, so the daemon can be upgraded or restarted without downtime for the workloads.

## Audit{% #audit %}

Check live restore in the daemon information:

```bash
docker info --format '{{ .LiveRestoreEnabled }}'
```

Datadog passes the rule when live restore is enabled and fails it otherwise.

## Remediation{% #remediation %}

Set `live-restore` in `daemon.json`:

```json
{
  "live-restore": true
}
```

Then reload the daemon with `systemctl reload docker`.

## Impact{% #impact %}

None.

## Default value{% #default-value %}

Live restore is off, and the containers stop with the daemon.

## References{% #references %}

1. [https://docs.docker.com/engine/daemon/live-restore/](https://docs.docker.com/engine/daemon/live-restore/)
