TMA-DOCKER-1.1.2
Ensure only trusted users are allowed to control Docker daemon
설명
The Docker daemon currently requires access to the Docker socket which is, by default, owned by the user root and the group docker. Docker allows you to share a directory between the Docker host and a guest container without limiting the access rights of the container. Reported as a manual review item: the audit needs a site-specific judgement.
점검 방법
감사 방식: 수동 검토
이 권장 사항은 자동으로 점검할 수 없습니다. --include-manual 옵션을 전달하면 스캔 결과에 이 지침과 함께 표시됩니다.
Execute the following command on the docker host and ensure that only trusted users are members of the docker group. getent group docker Expected state: You should remove any untrusted users from the docker group. Additionally, you should not create a mapping of sensitive directories from the host to container volumes.
조치 방법
조치 방식: 가이드 또는 인프라 패치
You should remove any untrusted users from the docker group. Additionally, you should not create a mapping of sensitive directories from the host to container volumes.
속성
- 운영 체제
- 모두
- 태그
- dockermanual
- 참고 자료
- CIS Docker Benchmark v1.9.0 - 1.1.2 Ensure only trusted users are allowed to control Docker daemon