Docker
TMA-DOCKER-2.16
Ensure live restore is enabled for the Docker daemon
SedangLevel 2Otomatisdocker
Deskripsi
The live-restore option keeps containers running when the Docker daemon is stopped or restarted.
Cara pemeriksaan
Metode audit: Perintah shell
shell
docker info --format '{{.LiveRestoreEnabled}}'- Output yang diharapkan
true
Cara perbaikan
Metode perbaikan: Panduan atau patch infrastruktur
echo 'Set "live-restore": true in /etc/docker/daemon.json and reload dockerd'
Properti
- Sistem operasi
- Apa saja
- Tag
- dockercontainers
- Referensi
- CIS Docker Benchmark v1.9.0 - 2.16 Ensure live restore is enabled
Periksa host ini
Jalankan ini pada mesin yang diizinkan untuk Anda audit. Pemindaian bersifat hanya baca.
shell
tmaegis scan --target docker --level 2