{"action":"closed","issue":{"url":"https://api.github.com/repos/docker/docker/issues/6114","labels_url":"https://api.github.com/repos/docker/docker/issues/6114/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/6114/comments","events_url":"https://api.github.com/repos/docker/docker/issues/6114/events","html_url":"https://github.com/docker/docker/issues/6114","id":34608152,"number":6114,"title":"Add information about exporting volume list to docs","user":{"login":"metalivedev","id":1414380,"avatar_url":"https://avatars.githubusercontent.com/u/1414380?v=3","gravatar_id":"","url":"https://api.github.com/users/metalivedev","html_url":"https://github.com/metalivedev","followers_url":"https://api.github.com/users/metalivedev/followers","following_url":"https://api.github.com/users/metalivedev/following{/other_user}","gists_url":"https://api.github.com/users/metalivedev/gists{/gist_id}","starred_url":"https://api.github.com/users/metalivedev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metalivedev/subscriptions","organizations_url":"https://api.github.com/users/metalivedev/orgs","repos_url":"https://api.github.com/users/metalivedev/repos","events_url":"https://api.github.com/users/metalivedev/events{/privacy}","received_events_url":"https://api.github.com/users/metalivedev/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/exp/beginner","name":"exp/beginner","color":"A8DBA8"},{"url":"https://api.github.com/repos/docker/docker/labels/kind/writing","name":"kind/writing","color":"A8E6CE"},{"url":"https://api.github.com/repos/docker/docker/labels/status/claimed","name":"status/claimed","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-05-30T01:05:49Z","updated_at":"2015-03-27T17:54:18Z","closed_at":"2015-03-27T17:54:18Z","body":"Operators need to know where the data in \"volumes\" is stored on the host so that they can monitor size, perform backups, migrate data, etc.\r\n\r\nHere is one way to dump the bindmounts on a container:\r\n\r\n```\r\n# Create a test container with volumes\r\n$ docker run --name testvol -v /vol-anon -v /tmp/vol:/vol-named ubuntu true\r\n\r\n# Ok, let's see where those volumes went...\r\n$ docker inspect --format={{.Volumes}} testvol\r\nmap[/vol-anon:/var/lib/docker/vfs/dir/1ed44639019c10269718628da26d792857c01dc0d383169841855db83c2d6904 /vol-named:/tmp/vol]\r\n```\r\n\r\nI think this would be a helpful addition to http://docs.docker.io/use/working_with_volumes/"}}