I can't start discourse on CentOS

If you have the -n ftype=1 parameter for mkfs.xfs command then it is fine.

You don’t need to (and probably shouldn’t) move the old files under /var/lib/docker back to the new fs. Just start docker and it will create necessary files/dirs. If you have other containers need to be restored, that should be done with docker export/load, not raw file operation.

BTW, you did stop docker before these commands and start it again after, right?