Workload misconfigurations

Ensure that the Docker socket file ownership is set to root:docker (Automated)

Risk Level

Informational (4)

Platform(s)
  • N/A

Compliance Frameworks

Description

You should verify that the Docker socket file is owned by root and group owned by docker.
  • Recommended Mitigation

    You should execute the following command: 'chown root:docker /var/run/docker.sock'. This sets the ownership to root and group ownership to docker for the default Docker socket file.