TMAegisベータ
docker のその他のルール

Docker

TMA-DOCKER-2.9

Ensure the default ulimit is configured appropriately

中レベル 1手動レビューdocker

説明

Set the default ulimit options as appropriate in your environment. ulimit provides control over the resources available to the shell and to processes which it starts. Setting system resource limits judiciously can save you from disasters such as a fork bomb. Reported as a manual review item: the audit needs a site-specific judgement.

チェック方法

監査方法: 手動レビュー

この推奨事項は自動ではチェックできません。--include-manual を指定すると、スキャン結果にこの手順付きで一覧表示されます。

To confirm this setting you should review the dockerd start-up options and any settings in /etc/docker/daemon.json. To review the dockerd startup options, use: ps -ef | grep dockerd Ensure that the --default-ulimit parameter is set as appropriate. The contents of /etc/docker/daemon.json should also be reviewed for this setting.

修正方法

修正方法: ガイダンスまたは IaC パッチ

Run Docker in daemon mode and pass --default-ulimit as argument with respective ulimits as appropriate in your environment and in line with your security policy. For example: dockerd --default-ulimit nproc=1024:2048 --default-ulimit nofile=100:200

プロパティ

オペレーティングシステム
すべて
タグ
dockermanual
参照
CIS Docker Benchmark v1.9.0 - 2.9 Ensure the default ulimit is configured appropriately