Docker
TMA-DOCKER-2.7
Ensure devicemapper storage driver is not used
中レベル 1自動docker
説明
The devicemapper storage driver is deprecated and has known performance and stability problems. The audit reads the storage driver from docker info.
チェック方法
監査方法: シェルコマンド
shell
d=$(docker info --format '{{.Driver}}') || exit 1; [ "$d" = devicemapper ] && echo "$d" || echo compliant- 期待される出力
compliant
修正方法
修正方法: ガイダンスまたは IaC パッチ
Migrate to the overlay2 storage driver ("storage-driver": "overlay2" in /etc/docker/daemon.json), re-pull or rebuild images and restart the Docker daemon.
プロパティ
- オペレーティングシステム
- すべて
- タグ
- dockerdaemonstorage
- 参照
- CIS Docker Benchmark v1.9.0 - 2.7 Ensure devicemapper storage driver is not used
このホストをチェック
監査が許可されているマシンで実行してください。スキャンは読み取り専用です。
shell
tmaegis scan --target docker