I created an NFS volume and was able to successfully use it on Ubuntu 16.04. However when I move my image to SLES-12 and try to run it I get the error:
user@localhost:~> docker run -it -v nfs_test02:/mnt/nfs nfs_tests bash docker: Error response from daemon: chown /var/lib/docker/volumes/nfs_test02/_data: invalid argument.
The Dockerfile for the nfs_tests container has the command:
I create the nfs_testuser01 with specific UID/GID (both 1000).
If I run the container and create a volume from a local directory, e.g.:
user@localhost:~> docker run -it -v /var/tmp/test_dir:/test nfs_tests bash
It works fine. So there’s something about the NFS volume on SLES-12 that’s causing a problem. Has anyone else seen this?