{"action":"created","issue":{"url":"https://api.github.com/repos/redhat-developer/docker-java/issues/4","labels_url":"https://api.github.com/repos/redhat-developer/docker-java/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/redhat-developer/docker-java/issues/4/comments","events_url":"https://api.github.com/repos/redhat-developer/docker-java/issues/4/events","html_url":"https://github.com/redhat-developer/docker-java/issues/4","id":111240228,"number":4,"title":"Deploying application to WildFly images via Volumes mounts doesn't work anymore","user":{"login":"rafabene","id":30131,"avatar_url":"https://avatars.githubusercontent.com/u/30131?v=3","gravatar_id":"","url":"https://api.github.com/users/rafabene","html_url":"https://github.com/rafabene","followers_url":"https://api.github.com/users/rafabene/followers","following_url":"https://api.github.com/users/rafabene/following{/other_user}","gists_url":"https://api.github.com/users/rafabene/gists{/gist_id}","starred_url":"https://api.github.com/users/rafabene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafabene/subscriptions","organizations_url":"https://api.github.com/users/rafabene/orgs","repos_url":"https://api.github.com/users/rafabene/repos","events_url":"https://api.github.com/users/rafabene/events{/privacy}","received_events_url":"https://api.github.com/users/rafabene/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-13T18:27:51Z","updated_at":"2015-10-19T19:21:57Z","closed_at":null,"body":"Docker mounts volumes as root. There's a request to mount [Add ability to mount volume as user other than root ](https://github.com/docker/docker/issues/2259)\r\n\r\nSince 14 October 2014 WildFly  is run as the jboss user which has the uid/gid set to 1000  as you can see here: https://hub.docker.com/r/jboss/wildfly/\r\n\r\nThis restricts the user to read any mounted volumes. We should fully refactor the section https://github.com/redhat-developer/docker-java/blob/javaone2015/chapters/docker-deployment-options.adoc#start-application-server"},"comment":{"url":"https://api.github.com/repos/redhat-developer/docker-java/issues/comments/149318657","html_url":"https://github.com/redhat-developer/docker-java/issues/4#issuecomment-149318657","issue_url":"https://api.github.com/repos/redhat-developer/docker-java/issues/4","id":149318657,"user":{"login":"rafabene","id":30131,"avatar_url":"https://avatars.githubusercontent.com/u/30131?v=3","gravatar_id":"","url":"https://api.github.com/users/rafabene","html_url":"https://github.com/rafabene","followers_url":"https://api.github.com/users/rafabene/followers","following_url":"https://api.github.com/users/rafabene/following{/other_user}","gists_url":"https://api.github.com/users/rafabene/gists{/gist_id}","starred_url":"https://api.github.com/users/rafabene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rafabene/subscriptions","organizations_url":"https://api.github.com/users/rafabene/orgs","repos_url":"https://api.github.com/users/rafabene/repos","events_url":"https://api.github.com/users/rafabene/events{/privacy}","received_events_url":"https://api.github.com/users/rafabene/received_events","type":"User","site_admin":false},"created_at":"2015-10-19T19:21:57Z","updated_at":"2015-10-19T19:21:57Z","body":"It seems that a custom image doesn't help. It's more related to the way the docker-machine mount the host folder. On Linux you aren't suppose to need docker-machine so I was able to make it work using raw docker services running on Fedora. "}}