{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/20708","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/20708/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/20708/comments","events_url":"https://api.github.com/repos/docker/docker/issues/20708/events","html_url":"https://github.com/docker/docker/issues/20708","id":136557646,"number":20708,"title":"Allow for containers to mount files or paths from sibling containers","user":{"login":"atrauzzi","id":115199,"avatar_url":"https://avatars.githubusercontent.com/u/115199?v=3","gravatar_id":"","url":"https://api.github.com/users/atrauzzi","html_url":"https://github.com/atrauzzi","followers_url":"https://api.github.com/users/atrauzzi/followers","following_url":"https://api.github.com/users/atrauzzi/following{/other_user}","gists_url":"https://api.github.com/users/atrauzzi/gists{/gist_id}","starred_url":"https://api.github.com/users/atrauzzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atrauzzi/subscriptions","organizations_url":"https://api.github.com/users/atrauzzi/orgs","repos_url":"https://api.github.com/users/atrauzzi/repos","events_url":"https://api.github.com/users/atrauzzi/events{/privacy}","received_events_url":"https://api.github.com/users/atrauzzi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-26T00:34:48Z","updated_at":"2016-02-26T02:12:11Z","closed_at":"2016-02-26T01:01:03Z","body":"If I'm running a container which has the following file/path of interest:\r\n\r\n`/resources/someservice.config`\r\n\r\nAnd I want to mount it to a path inside another container:\r\n\r\n`/etc/service/config`\r\n\r\nI haven't been able to find a clear indication if Docker is capable of doing something like this.  While there is the ability to mount all volumes from another container, there doesn't appear to be any way to map them individually.  It's all-or-nothing.\r\n\r\nI'd love to see the ability to simply have two containers running on the same host be able to map files from each other."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/189079205","html_url":"https://github.com/docker/docker/issues/20708#issuecomment-189079205","issue_url":"https://api.github.com/repos/docker/docker/issues/20708","id":189079205,"user":{"login":"atrauzzi","id":115199,"avatar_url":"https://avatars.githubusercontent.com/u/115199?v=3","gravatar_id":"","url":"https://api.github.com/users/atrauzzi","html_url":"https://github.com/atrauzzi","followers_url":"https://api.github.com/users/atrauzzi/followers","following_url":"https://api.github.com/users/atrauzzi/following{/other_user}","gists_url":"https://api.github.com/users/atrauzzi/gists{/gist_id}","starred_url":"https://api.github.com/users/atrauzzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atrauzzi/subscriptions","organizations_url":"https://api.github.com/users/atrauzzi/orgs","repos_url":"https://api.github.com/users/atrauzzi/repos","events_url":"https://api.github.com/users/atrauzzi/events{/privacy}","received_events_url":"https://api.github.com/users/atrauzzi/received_events","type":"User","site_admin":false},"created_at":"2016-02-26T02:12:11Z","updated_at":"2016-02-26T02:12:11Z","body":"Possibly related to this at this point: https://github.com/docker/compose/issues/424\r\n\r\nI'm able to create named volumes for directories, but not files."}}