{"action":"closed","issue":{"url":"https://api.github.com/repos/docker/compose/issues/4675","repository_url":"https://api.github.com/repos/docker/compose","labels_url":"https://api.github.com/repos/docker/compose/issues/4675/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/4675/comments","events_url":"https://api.github.com/repos/docker/compose/issues/4675/events","html_url":"https://github.com/docker/compose/issues/4675","id":217634180,"node_id":"MDU6SXNzdWUyMTc2MzQxODA=","number":4675,"title":"Named Volumes & Persistance in version 3","user":{"login":"rivaros","id":1242369,"node_id":"MDQ6VXNlcjEyNDIzNjk=","avatar_url":"https://avatars2.githubusercontent.com/u/1242369?v=4","gravatar_id":"","url":"https://api.github.com/users/rivaros","html_url":"https://github.com/rivaros","followers_url":"https://api.github.com/users/rivaros/followers","following_url":"https://api.github.com/users/rivaros/following{/other_user}","gists_url":"https://api.github.com/users/rivaros/gists{/gist_id}","starred_url":"https://api.github.com/users/rivaros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rivaros/subscriptions","organizations_url":"https://api.github.com/users/rivaros/orgs","repos_url":"https://api.github.com/users/rivaros/repos","events_url":"https://api.github.com/users/rivaros/events{/privacy}","received_events_url":"https://api.github.com/users/rivaros/received_events","type":"User","site_admin":false},"labels":[{"id":522829681,"node_id":"MDU6TGFiZWw1MjI4Mjk2ODE=","url":"https://api.github.com/repos/docker/compose/labels/format/v3","name":"format/v3","color":"fef2c0","default":false},{"id":69777239,"node_id":"MDU6TGFiZWw2OTc3NzIzOQ==","url":"https://api.github.com/repos/docker/compose/labels/kind/question","name":"kind/question","color":"cc317c","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":32,"created_at":"2017-03-28T17:25:59Z","updated_at":"2018-07-10T15:31:53Z","closed_at":"2018-07-10T15:31:53Z","author_association":"NONE","body":"This is basically a question about named volumes.\r\nStarting from version 3 file format docker-compose does not allow **volumes-from** which was deprecated in favor of **named volumes**.\r\n\r\nBut there is a problem - with **named volumes** you cannot bind to local host folder & make it persistent.\r\nSo, for example, if I want to share my project folder among nginx, fpm and mysql docker containers, I need to specify a volume mapping setting for each of them.\r\n\r\nIt's not possible to just create one **named volume** mapped to project folder & then simply reuse it in all containers.\r\n\r\nWhy this is not possible? I am aware of the third-party docker plugin like https://github.com/CWSpear/local-persist but as all third-party things, this does not make me feel I should use it (is it stable or maybe it is slow).  Are there any particular reasons (drawbacks) why it was not implemented in the core?\r\n\r\n\r\n"}}
{"actor":{"display_login":"shin-"}}