Change docker image directory to NFS/Ceph with overlayFS?

I am trying to put docker images to a big shared storage. I searched some posts which suggest ‘-g’ option. But ‘-g’ is not available with overlayFS. Does anyone know how to do this?

I am using CentOS7.2.


I got the same issue, did you have any solution?