SV-260926r966135_rule
V-260926
SRG-APP-000141-CTR-000315
CNTR-MK-000600
CAT II
10
Modify Storage Driver setting.
Via CLI as a trusted user on the underlying host operating system:
If the daemon.json file does not exist, it must be created.
"/etc/docker/daemon.json"
Edit the "/etc/docker/daemon.json" file and set the "storage-driver" property to a value that is not "aufs" or "btrfs".
{
"storage-driver": "overlay2"
}
Restart the Docker daemon by executing the following:
sudo systemctl restart docker
The default storage driver for MCR is overlay2. To confirm this has not been changed via CLI:
As a trusted user on the underlying host operating system, execute the following command:
docker info | grep -e "Storage Driver:"
If the Storage Driver setting contains *aufs or *btrfs, then this is a finding. If the above command returns no values, this is not a finding.
V-260926
False
CNTR-MK-000600
The default storage driver for MCR is overlay2. To confirm this has not been changed via CLI:
As a trusted user on the underlying host operating system, execute the following command:
docker info | grep -e "Storage Driver:"
If the Storage Driver setting contains *aufs or *btrfs, then this is a finding. If the above command returns no values, this is not a finding.
M
5595