TMA-DOCKER-2.1
Run the Docker daemon as a non-root user, if possible
Mô tả
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.
Cách kiểm tra
Phương pháp kiểm tra: Xem xét thủ công
Khuyến nghị này không thể kiểm tra tự động. Lần quét sẽ liệt kê mục này kèm hướng dẫn khi bạn truyền cờ --include-manual.
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.
Cách khắc phục
Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng
Follow the current Docker documentation on how to install the Docker daemon as a non-root user.
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- dockermanual
- Tham chiếu
- CIS Docker Benchmark v1.9.0 - 2.1 Run the Docker daemon as a non-root user, if possible