{"action":"created","issue":{"url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/132","labels_url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/132/comments","events_url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/132/events","html_url":"https://github.com/jwilder/nginx-proxy/pull/132","id":64253775,"number":132,"title":"Add missing volumes","user":{"login":"brikou","id":383212,"avatar_url":"https://avatars.githubusercontent.com/u/383212?v=3","gravatar_id":"","url":"https://api.github.com/users/brikou","html_url":"https://github.com/brikou","followers_url":"https://api.github.com/users/brikou/followers","following_url":"https://api.github.com/users/brikou/following{/other_user}","gists_url":"https://api.github.com/users/brikou/gists{/gist_id}","starred_url":"https://api.github.com/users/brikou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brikou/subscriptions","organizations_url":"https://api.github.com/users/brikou/orgs","repos_url":"https://api.github.com/users/brikou/repos","events_url":"https://api.github.com/users/brikou/events{/privacy}","received_events_url":"https://api.github.com/users/brikou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-25T12:07:12Z","updated_at":"2015-03-25T15:29:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jwilder/nginx-proxy/pulls/132","html_url":"https://github.com/jwilder/nginx-proxy/pull/132","diff_url":"https://github.com/jwilder/nginx-proxy/pull/132.diff","patch_url":"https://github.com/jwilder/nginx-proxy/pull/132.patch"},"body":"Allow the use `--volumes-from` parameter."},"comment":{"url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/comments/86082622","html_url":"https://github.com/jwilder/nginx-proxy/pull/132#issuecomment-86082622","issue_url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/132","id":86082622,"user":{"login":"md5","id":76367,"avatar_url":"https://avatars.githubusercontent.com/u/76367?v=3","gravatar_id":"","url":"https://api.github.com/users/md5","html_url":"https://github.com/md5","followers_url":"https://api.github.com/users/md5/followers","following_url":"https://api.github.com/users/md5/following{/other_user}","gists_url":"https://api.github.com/users/md5/gists{/gist_id}","starred_url":"https://api.github.com/users/md5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/md5/subscriptions","organizations_url":"https://api.github.com/users/md5/orgs","repos_url":"https://api.github.com/users/md5/repos","events_url":"https://api.github.com/users/md5/events{/privacy}","received_events_url":"https://api.github.com/users/md5/received_events","type":"User","site_admin":false},"created_at":"2015-03-25T15:29:57Z","updated_at":"2015-03-25T15:29:57Z","body":"I'm :-1: on this change. It's not possible to \"undo\" a `VOLUME` statement and not all users will want or need them. Setting up a volume on your container with a `-v` allows you to use `--volumes-from` just as easily.\r\n\r\n```console\r\n$ docker run -d -v /etc/nginx/htpasswd -v /etc/nginx/vhost.d -v /var/run/docker.sock:/tmp/docker.sock -p 80:80 -p 443:443 --name nginx-proxy jwilder/nginx-proxy\r\n165a3df710e84a3d53b7ff502f3f7e19c8c414bb73ecbb3b83629404771281eb\r\n```\r\n```console\r\n$ docker run --rm --volumes-from nginx-proxy debian:jessie mount | grep nginx\r\n/dev/sda1 on /etc/nginx/certs type ext4 (rw,relatime,data=ordered)\r\n/dev/sda1 on /etc/nginx/htpasswd type ext4 (rw,relatime,data=ordered)\r\n/dev/sda1 on /etc/nginx/vhost.d type ext4 (rw,relatime,data=ordered)\r\n/dev/sda1 on /var/cache/nginx type ext4 (rw,relatime,data=ordered)\r\n```\r\n"}}