TMAegis
Thêm quy tắc cho docker

Docker

TMA-DOCKER-1.1.2

Ensure only trusted users are allowed to control Docker daemon

Trung bìnhCấp 1Xem xét thủ côngdocker

Mô tả

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.

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.

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.

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

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.

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
dockermanual
Tham chiếu
CIS Docker Benchmark v1.9.0 - 1.1.2 Ensure only trusted users are allowed to control Docker daemon