1. Home
  2. Security Hardening
  3. DISA STIG Docker Enterprise 2.x Linux Unix V2R1
  4. DKER-EE-002080 – Docker Enterprise exec commands must not be used with privileged option.

DKER-EE-002080 – Docker Enterprise exec commands must not be used with privileged option.

Details

Do not use docker exec with –privileged option.

Using –privileged option in docker exec gives extended Linux capabilities to the command. Do not run docker exec with the –privileged option, especially when running containers with dropped capabilities or with enhanced restrictions. By default, docker exec command runs without –privileged option.

Solution

This fix only applies to the use of Docker Engine – Enterprise on a Linux host operating system.

Do not use –privileged option in docker exec command.

A reference for the docker exec command can be found at https://docs.docker.com/engine/reference/commandline/exec/.

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: Configuration Management.This control applies to the following type of system Unix.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles