{"action":"created","issue":{"url":"https://api.github.com/repos/docker-library/elasticsearch/issues/51","labels_url":"https://api.github.com/repos/docker-library/elasticsearch/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/docker-library/elasticsearch/issues/51/comments","events_url":"https://api.github.com/repos/docker-library/elasticsearch/issues/51/events","html_url":"https://github.com/docker-library/elasticsearch/issues/51","id":104747397,"number":51,"title":"Access Denied for shared volume on OSX","user":{"login":"aarongundel","id":124614,"avatar_url":"https://avatars.githubusercontent.com/u/124614?v=3","gravatar_id":"","url":"https://api.github.com/users/aarongundel","html_url":"https://github.com/aarongundel","followers_url":"https://api.github.com/users/aarongundel/followers","following_url":"https://api.github.com/users/aarongundel/following{/other_user}","gists_url":"https://api.github.com/users/aarongundel/gists{/gist_id}","starred_url":"https://api.github.com/users/aarongundel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aarongundel/subscriptions","organizations_url":"https://api.github.com/users/aarongundel/orgs","repos_url":"https://api.github.com/users/aarongundel/repos","events_url":"https://api.github.com/users/aarongundel/events{/privacy}","received_events_url":"https://api.github.com/users/aarongundel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-03T17:43:41Z","updated_at":"2015-10-26T15:19:42Z","closed_at":"2015-10-26T15:18:24Z","body":"I'm attempting to create a new elasticsearch container with a shared volume on my osx machine (virtualbox host).  It doesn't seem to be working; I'm getting the following in my logs. \r\n\r\n    [2015-09-03 17:37:12,223][INFO ][node                     ] [Vidar] version[1.7.1], pid[1], build[b88f43f/2015-07-29T09:54:16Z]\r\n    [2015-09-03 17:37:12,223][INFO ][node                     ] [Vidar] initializing ...\r\n    [2015-09-03 17:37:12,285][INFO ][plugins                  ] [Vidar] loaded [], sites []\r\n    {1.7.1}: Initialization Failed ...\r\n    - ElasticsearchIllegalStateException[Failed to created node environment]\r\n\t    AccessDeniedException[/usr/share/elasticsearch/data/elasticsearch]\r\n\r\nI am executing the following vanilla command as per the [documentation](https://hub.docker.com/_/elasticsearch/) page...\r\n\r\n    docker run -d -v \"$PWD/esdata\":/usr/share/elasticsearch/data elasticsearch\r\n\r\nPoking through the issue tracker, it looks like this has something to do with your stepping down the permissions for ES on the container, but I have no ideas on how to mitigate that in my container.  Any help would be much appreciated.  \r\n"},"comment":{"url":"https://api.github.com/repos/docker-library/elasticsearch/issues/comments/151171155","html_url":"https://github.com/docker-library/elasticsearch/issues/51#issuecomment-151171155","issue_url":"https://api.github.com/repos/docker-library/elasticsearch/issues/51","id":151171155,"user":{"login":"seagullmouse","id":1561613,"avatar_url":"https://avatars.githubusercontent.com/u/1561613?v=3","gravatar_id":"","url":"https://api.github.com/users/seagullmouse","html_url":"https://github.com/seagullmouse","followers_url":"https://api.github.com/users/seagullmouse/followers","following_url":"https://api.github.com/users/seagullmouse/following{/other_user}","gists_url":"https://api.github.com/users/seagullmouse/gists{/gist_id}","starred_url":"https://api.github.com/users/seagullmouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seagullmouse/subscriptions","organizations_url":"https://api.github.com/users/seagullmouse/orgs","repos_url":"https://api.github.com/users/seagullmouse/repos","events_url":"https://api.github.com/users/seagullmouse/events{/privacy}","received_events_url":"https://api.github.com/users/seagullmouse/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T15:19:42Z","updated_at":"2015-10-26T15:19:42Z","body":"Can I ask which workaround you used? cheers"}}