3.6 Verify that /etc/docker directory permissions are set to 755 or more restrictive

Information

Verify that the /etc/docker directory permissions are correctly set to '755'or more restrictive.

Rationale:

'/etc/docker' directory contains certificates and keys in addition to various sensitive files. Hence, it should only be writable by 'root' to maintain the integrity of the directory.

Solution

chmod 755 /etc/docker

This would set the permissions for the directory to '755'.

Impact:

None.

Default Value:

By default, the permissions for this directory are correctly set to '755'.

See Also

https://workbench.cisecurity.org/files/1476