SV-235867r627728_rule
V-235867
SRG-APP-000516
DKER-EE-005330
CAT I
10
If docker.daemon does not exist, create the file and set the ownership and group-ownership for the file to root.
Run the following command:
chown root:root /etc/docker/daemon.json
The docker.daemon file is not created on installation and must be created. Ensure that daemon.json file ownership is set to root:root.
Execute the below command to verify that the file is owned and group-owned by root:
stat -c %U:%G /etc/docker/daemon.json
If the docker.daemon file doesn't exist or if the file permissions are not set to root:root, this is a finding.
V-235867
False
DKER-EE-005330
The docker.daemon file is not created on installation and must be created. Ensure that daemon.json file ownership is set to root:root.
Execute the below command to verify that the file is owned and group-owned by root:
stat -c %U:%G /etc/docker/daemon.json
If the docker.daemon file doesn't exist or if the file permissions are not set to root:root, this is a finding.
M
5281