Hide Forgot
Description of problem: When attempting to volume mount a directory on a filesystem that doesn't support selinux (i.e. fuse filesystems like sshfs) the docker daemon will error. One could argue that this is desired behavior but to work around it for every project that uses ":Z" a user would either have to remove ":Z" or move the files to a filesystem that does support selinux, which is not a good user experience. According to dwalsh the "ENOSUP should be handled, either ignored or perhaps logged." Version-Release number of selected component (if applicable): docker-1.10.3-26.git1ecb834.fc24.x86_64 How reproducible: Always Steps to Reproduce: $ docker run -it --rm -v /proc/:/tmp/proc:Z centos:7 bash docker: Error response from daemon: operation not supported.
I think we should leave this as an error. For now, unless it becomes more of a problem.
Opened a pull request to better document the error. https://github.com/opencontainers/runc/pull/1046