I've tried to move my Docker's directory from /var/lib/docker
to an external hard drive, which is formatted with NTFS. I've followed this guide. However, when I do systemctl start docker
I get an error, and in the journal I find these:
Jun 15 11:38:32 lampo.sial kernel: overlayfs: upper fs does not support tmpfile.
Jun 15 11:38:32 lampo.sial kernel: overlayfs: upper fs does not support RENAME_WHITEOUT.
Jun 15 11:38:32 lampo.sial kernel: overlayfs: upper fs missing required features.
Jun 15 11:38:32 lampo.sial dockerd[7728]: time="2023-06-15T11:38:32.910051824+01:00" level=error msg="failed to mount overlay: invalid argument" storage-driver=overlay2
Jun 15 11:38:32 lampo.sial dockerd[7728]: time="2023-06-15T11:38:32.910356041+01:00" level=error msg="[graphdriver] prior storage driver overlay2 failed: driver not supported"
Jun 15 11:38:32 lampo.sial dockerd[7728]: failed to start daemon: error initializing graphdriver: driver not supported
I'm doubting whether I can move that folder to an NTFS filesystem. What can I do?
Any Linux distro with systemd
and Windows is definitely not Linux. If you run wsl or wsl2 then the fs is in Linux but Windows drives are mounted as network drives and not a native drive eitheracl=
for individual file permissions. Without that things that rely on POSIX permissions won't work