{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/20017","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/20017/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/20017/comments","events_url":"https://api.github.com/repos/docker/docker/issues/20017/events","html_url":"https://github.com/docker/docker/pull/20017","id":131542563,"number":20017,"title":"Add mounts to docker ps.","user":{"login":"calavera","id":1050,"avatar_url":"https://avatars.githubusercontent.com/u/1050?v=3","gravatar_id":"","url":"https://api.github.com/users/calavera","html_url":"https://github.com/calavera","followers_url":"https://api.github.com/users/calavera/followers","following_url":"https://api.github.com/users/calavera/following{/other_user}","gists_url":"https://api.github.com/users/calavera/gists{/gist_id}","starred_url":"https://api.github.com/users/calavera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calavera/subscriptions","organizations_url":"https://api.github.com/users/calavera/orgs","repos_url":"https://api.github.com/users/calavera/repos","events_url":"https://api.github.com/users/calavera/events{/privacy}","received_events_url":"https://api.github.com/users/calavera/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/impact/api","name":"impact/api","color":"bfe5bf"},{"url":"https://api.github.com/repos/docker/docker/labels/impact/changelog","name":"impact/changelog","color":"bfe5bf"},{"url":"https://api.github.com/repos/docker/docker/labels/impact/cli","name":"impact/cli","color":"bfe5bf"},{"url":"https://api.github.com/repos/docker/docker/labels/status/2-code-review","name":"status/2-code-review","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-02-05T03:10:31Z","updated_at":"2016-02-19T03:16:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/20017","html_url":"https://github.com/docker/docker/pull/20017","diff_url":"https://github.com/docker/docker/pull/20017.diff","patch_url":"https://github.com/docker/docker/pull/20017.patch"},"body":"- Allow to filter containers by volume with `--filter volume=name` and `filter volume=/dest`.\r\n- Show their names in the list with the custom format `{{ .Mounts }}`.\r\n\r\nThis is consistent with the Network information we added recently.\r\n\r\nSigned-off-by: David Calavera <david.calavera@gmail.com>"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/186028852","html_url":"https://github.com/docker/docker/pull/20017#issuecomment-186028852","issue_url":"https://api.github.com/repos/docker/docker/issues/20017","id":186028852,"user":{"login":"jhowardmsft","id":10522484,"avatar_url":"https://avatars.githubusercontent.com/u/10522484?v=3","gravatar_id":"","url":"https://api.github.com/users/jhowardmsft","html_url":"https://github.com/jhowardmsft","followers_url":"https://api.github.com/users/jhowardmsft/followers","following_url":"https://api.github.com/users/jhowardmsft/following{/other_user}","gists_url":"https://api.github.com/users/jhowardmsft/gists{/gist_id}","starred_url":"https://api.github.com/users/jhowardmsft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhowardmsft/subscriptions","organizations_url":"https://api.github.com/users/jhowardmsft/orgs","repos_url":"https://api.github.com/users/jhowardmsft/repos","events_url":"https://api.github.com/users/jhowardmsft/events{/privacy}","received_events_url":"https://api.github.com/users/jhowardmsft/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T03:16:32Z","updated_at":"2016-02-19T03:16:32Z","body":"windowsTP4 failure is real - needs to have conditional code for Windows file path semantics. Also rather than running busybox top in the test, use runSleepingContainer.\r\n\r\n```\r\n16:50:14 ----------------------------------------------------------------------\r\n16:50:14 FAIL: docker_cli_ps_test.go:738: DockerSuite.TestPsShowMounts\r\n16:50:14 \r\n16:50:14 docker_cli_ps_test.go:740:\r\n16:50:14     dockerCmd(c, \"run\", \"--name=volume-test-1\", \"-d\", \"--volume\", \"ps-volume-test:/test\", \"busybox\", \"top\")\r\n16:50:14 C:/gopath/src/github.com/docker/docker/pkg/integration/dockerCmd_utils.go:42:\r\n16:50:14     c.Assert(err, check.IsNil, check.Commentf(quote+\"%v\"+quote+\" failed with errors: %s, %v\", strings.Join(args, \" \"), out, err))\r\n16:50:14 ... value *exec.ExitError = &exec.ExitError{ProcessState:(*os.ProcessState)(0xc082505120)} (\"exit status 125\")\r\n16:50:14 ... \"run --name=volume-test-1 -d --volume ps-volume-test:/test busybox top\" failed with errors: D:\\CI\\CI-cf50592\\binary\\docker.exe: Error response from daemon: Invalid bind mount spec \"ps-volume-test:/test\": volumeinvalid: Invalid volume specification: 'ps-volume-test:/test'.\r\n16:50:14 See 'D:\\CI\\CI-cf50592\\binary\\docker.exe run --help'.\r\n16:50:14 , exit status 125\r\n16:50:14 \r\n16:50:14 \r\n16:50:14 ----------------------------------------------------------------------\r\n```"}}