systemctl stop docker- Create the file
/etc/docker/daemon.jsonwith the following content:
{
"storage-driver": "overlay2",
"storage-opts": ["overlay2.override_kernel_check=true"]
}systemctl start docker
systemctl stop docker/etc/docker/daemon.json with the following content:{
"storage-driver": "overlay2",
"storage-opts": ["overlay2.override_kernel_check=true"]
}systemctl start dockerAlso remember that the backing filesystem of
/var/lib/docker/needs to be ext4 for overlay2. XFS will not work.
According to the docs, XFS is supported if filesystem ftype is set to 1.
Check with: $ xfs_info | grep ftype
Also remember that the backing filesystem of
/var/lib/docker/needs to be ext4 for overlay2. XFS will not work.