1. Home
  2. Security Hardening
  3. CIS Docker Community Edition V1.1.0 L1 Docker
  4. Ensure that /etc/docker directory ownership is set to root:root

Ensure that /etc/docker directory ownership is set to root:root

Details

Verify that the /etc/docker directory ownership and group-ownership is correctly set to root.

Rationale:

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

Solution

chown root:root /etc/docker
This would set the ownership and group-ownership for the directory to root.
Impact:
None.
Default Value:
By default, the ownership and group-ownership for this directory is correctly set to root.

Supportive Information

The following resource is also helpful.

This control applies to the following type of system Unix.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles