Docker
TMA-DOCKER-2.6
Ensure aufs storage driver is not used
Trung bìnhCấp 1Tự độngdocker
Mô tả
The aufs storage driver is deprecated, unsupported in current kernels and known to cause kernel crashes. The audit reads the storage driver from docker info.
Cách kiểm tra
Phương pháp kiểm tra: Lệnh shell
shell
d=$(docker info --format '{{.Driver}}') || exit 1; [ "$d" = aufs ] && echo "$d" || echo compliant- Đầu ra mong đợi
compliant
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
Migrate to the overlay2 storage driver: set "storage-driver": "overlay2" in /etc/docker/daemon.json, re-pull or rebuild images, and restart the Docker daemon.
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- dockerdaemonstorage
- Tham chiếu
- CIS Docker Benchmark v1.9.0 - 2.6 Ensure aufs storage driver is not used
Kiểm tra máy này
Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.
shell
tmaegis scan --target docker