docker start failed after adding daemon.json file docker start failed after adding daemon.json file kubernetes kubernetes

docker start failed after adding daemon.json file


This error is pointing to an issue forcing docker to use overlay2 without the proper backing filesystem:

failed to start daemon: error initializing graphdriver: overlay2: the backing xfs filesystem is formatted without d_type

See docker's table for details on backing filesystem requirements for the different storage drivers: https://docs.docker.com/storage/storagedriver/#supported-backing-filesystems

The fix is to remove the storage driver settings, or fix the backing filesystem with the needed options to support overlay2:

  {    "exec-opts": ["native.cgroupdriver=systemd"],    "log-driver": "json-file",    "log-opts": {      "max-size": "100m"    }  }

For details on changing the xfs options, that appears to require rebuilding the filesystem. See this answer for more details on the needed steps.