Docker
TMA-DOCKER-2.1
Run the Docker daemon as a non-root user, if possible
설명
Rootless mode executes the Docker daemon and containers inside a user namespace, with both the daemon and the container are running without root privileges. Rootless mode allows running the Docker daemon and containers as a non-root user to mitigate potential vulnerabilities in the daemon and the container runtime. Reported as a manual review item: the audit needs a site-specific judgement.
점검 방법
감사 방식: 수동 검토
Running the following command will show any running dockerd processes and which user that is managing the daemon. ps -fe | grep 'dockerd' Expected state: Follow the current Docker documentation on how to install the Docker daemon as a non-root user.
조치 방법
조치 방식: 가이드 또는 인프라 패치
Follow the current Docker documentation on how to install the Docker daemon as a non-root user.
속성
- 운영 체제
- 모두
- 태그
- dockermanual
- 참고 자료
- CIS Docker Benchmark v1.9.0 - 2.1 Run the Docker daemon as a non-root user, if possible