OpenParable
Skip to content
← Back to skills

Cis Docker V170 2.15

DevOps & Security
cis-docker-v170-2.15

Cis Docker V170 2.15 is an Agent Skill for devops & security published in the CyberStrikeus/CyberStrike repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Ensure live restore is enabled

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/CyberStrikeus/CyberStrike/blob/HEAD/.cyberstrike/skill/CIS_benchmarks/Server_Software/Docker/CIS_Docker_Benchmark_v1.7.0/cis-docker-v170-2.15/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cis-docker-v170-2-15, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

CIS Docker Benchmark v1.7.0 - Control 2.15

Profile Applicability

  • Level: 1 - Docker - Linux

Description

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.

Audit Procedure

You should run docker info and ensure that the Live Restore Enabled property is set to true.

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

Alternatively, you could run the below command and ensure that --live-restore is in use.

ps -ef | grep dockerd

The contents of /etc/docker/daemon.json should also be reviewed to ensure this setting is in place.

Remediation

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.

References

  1. https://docs.docker.com/config/containers/live-restore/

CIS Controls

Controls VersionControlIG 1IG 2IG 3
v816.10 Apply Secure Design Principles in Application ArchitecturesApply secure design principles in application architectures. Secure design principles include the concept of least privilege and enforcing mediation to validate every operation that the user makes, requesting that the user accept an action before it takes place, or "never trust user input." Examples include ensuring that explicit error checking is performed and documented for all input, including for size, data type, and acceptable ranges or formats. Secure design also means minimizing the application infrastructure attack surface, such as turning off unprotected ports and services, removing unnecessary programs and files, and renaming or removing default accounts.●●
v718 Application Software SecurityApplication Software Security

Profile

Level 1 - Docker - Linux (Manual)