SV-235785r627482_rule
V-235785
SRG-APP-000039
DKER-EE-001250
CAT II
10
This fix only applies to the use of Docker Engine - Enterprise on a Linux host operating system.
Do not start a container with --ipc=host argument.
For example, do not start a container as below:
docker run --interactive --tty --ipc=host centos /bin/bash
This check only applies to the use of Docker Engine - Enterprise on a Linux host operating system.
Ensure the host's IPC namespace is not shared.
via CLI:
Linux: As a Docker EE Admin, execute the following command using a UCP client bundle:
docker ps --all | grep -iv "ucp\|kube\|dtr" | awk '{print $1}' | xargs docker inspect --format '{{ .Id }}: IpcMode={{ .HostConfig.IpcMode }}'
If IpcMode="shareable", then the host's IPC namespace is shared and this is a finding.
V-235785
False
DKER-EE-001250
This check only applies to the use of Docker Engine - Enterprise on a Linux host operating system.
Ensure the host's IPC namespace is not shared.
via CLI:
Linux: As a Docker EE Admin, execute the following command using a UCP client bundle:
docker ps --all | grep -iv "ucp\|kube\|dtr" | awk '{print $1}' | xargs docker inspect --format '{{ .Id }}: IpcMode={{ .HostConfig.IpcMode }}'
If IpcMode="shareable", then the host's IPC namespace is shared and this is a finding.
M
5281