SV-235868r627731_rule
V-235868
SRG-APP-000516
DKER-EE-005340
CAT I
10
If docker.daemon does not exist, create the file and set the file permissions for this file to 644.
Run the following command;
chmod 644 /etc/docker/daemon.json
The docker.daemon file is not created on installation and must be created. Ensure that daemon.json file permissions are set to 644 or more restrictive.
Execute the below command to verify that the file permissions are correctly set to 644 or more restrictive:
stat -c %a /etc/docker/daemon.json
If the permissions are not set to 644 or a more restrictive setting, this is a finding.
If the permissions are not set to 644, this is a finding.
V-235868
False
DKER-EE-005340
The docker.daemon file is not created on installation and must be created. Ensure that daemon.json file permissions are set to 644 or more restrictive.
Execute the below command to verify that the file permissions are correctly set to 644 or more restrictive:
stat -c %a /etc/docker/daemon.json
If the permissions are not set to 644 or a more restrictive setting, this is a finding.
If the permissions are not set to 644, this is a finding.
M
5281