{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/23839","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/23839/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/23839/comments","events_url":"https://api.github.com/repos/docker/docker/issues/23839/events","html_url":"https://github.com/docker/docker/issues/23839","id":161583395,"number":23839,"title":"nfs mount point cannot be used as volume","user":{"login":"jimmycmh","id":13113304,"avatar_url":"https://avatars.githubusercontent.com/u/13113304?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmycmh","html_url":"https://github.com/jimmycmh","followers_url":"https://api.github.com/users/jimmycmh/followers","following_url":"https://api.github.com/users/jimmycmh/following{/other_user}","gists_url":"https://api.github.com/users/jimmycmh/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmycmh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmycmh/subscriptions","organizations_url":"https://api.github.com/users/jimmycmh/orgs","repos_url":"https://api.github.com/users/jimmycmh/repos","events_url":"https://api.github.com/users/jimmycmh/events{/privacy}","received_events_url":"https://api.github.com/users/jimmycmh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-06-22T02:54:52Z","updated_at":"2016-09-13T02:35:49Z","closed_at":"2016-06-28T07:12:15Z","body":"Docker version 1.11.2\r\n\r\nLet's say an nfs is mounted on /mnt/nfs using volume plugin with name mynfs, and trying to use mynfs as a volume to an exsiting directory in the image.\r\ndocker run -ti -v mynfs:/var/log ubuntu bash\r\nThis command will fail with error \"docker: Error response from daemon: chown /mnt/nfs: operation not permitted.\"\r\n\r\nThe problem is docker trying to copy files in /var/log to the volume and set the ownership accordingly, but chown on mount point is not permitted.\r\n\r\nHow to deal with this issue?\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/246556215","html_url":"https://github.com/docker/docker/issues/23839#issuecomment-246556215","issue_url":"https://api.github.com/repos/docker/docker/issues/23839","id":246556215,"user":{"login":"pacoxu","id":2010320,"avatar_url":"https://avatars.githubusercontent.com/u/2010320?v=3","gravatar_id":"","url":"https://api.github.com/users/pacoxu","html_url":"https://github.com/pacoxu","followers_url":"https://api.github.com/users/pacoxu/followers","following_url":"https://api.github.com/users/pacoxu/following{/other_user}","gists_url":"https://api.github.com/users/pacoxu/gists{/gist_id}","starred_url":"https://api.github.com/users/pacoxu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pacoxu/subscriptions","organizations_url":"https://api.github.com/users/pacoxu/orgs","repos_url":"https://api.github.com/users/pacoxu/repos","events_url":"https://api.github.com/users/pacoxu/events{/privacy}","received_events_url":"https://api.github.com/users/pacoxu/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T02:35:49Z","updated_at":"2016-09-13T02:35:49Z","body":"@cpuguy83， agree.  It is a problem with integration between Docker, MySQL, NFS. \r\nRoot cause is：\r\n1. mysql image use 'chown'\r\n2. nfs doesn't allow ‘chown’ by nfs client."}}
{"actor":{"display_login":"pacoxu"}}