{"action":"opened","issue":{"url":"https://api.github.com/repos/hyperhq/hypercli/issues/73","repository_url":"https://api.github.com/repos/hyperhq/hypercli","labels_url":"https://api.github.com/repos/hyperhq/hypercli/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/hyperhq/hypercli/issues/73/comments","events_url":"https://api.github.com/repos/hyperhq/hypercli/issues/73/events","html_url":"https://github.com/hyperhq/hypercli/issues/73","id":153960173,"number":73,"title":"[bug] Behavior of `rm -v` and `run --rm -v` is not consist with docker","user":{"login":"Crazykev","id":7436779,"avatar_url":"https://avatars.githubusercontent.com/u/7436779?v=3","gravatar_id":"","url":"https://api.github.com/users/Crazykev","html_url":"https://github.com/Crazykev","followers_url":"https://api.github.com/users/Crazykev/followers","following_url":"https://api.github.com/users/Crazykev/following{/other_user}","gists_url":"https://api.github.com/users/Crazykev/gists{/gist_id}","starred_url":"https://api.github.com/users/Crazykev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Crazykev/subscriptions","organizations_url":"https://api.github.com/users/Crazykev/orgs","repos_url":"https://api.github.com/users/Crazykev/repos","events_url":"https://api.github.com/users/Crazykev/events{/privacy}","received_events_url":"https://api.github.com/users/Crazykev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-10T09:18:39Z","updated_at":"2016-05-10T09:18:39Z","closed_at":null,"body":"In both hyper and docker, volume can be created in two ways:\r\n1. `volume create [--name]`  --- created volume\r\n2. `run -v /foo`  --- temp volume\r\nBoth kind of volume will be removed by hyper if `rm -v` or `--rm` takes effect. While docker will only remove temp volume created by 2nd way.\r\nConcerned test case:  [TestRunNamedVolumesFromNotRemoved](https://github.com/hyperhq/hypercli/blob/integration-test/integration-cli/todo/cli/docker_cli_run_test.go#L4144)"}}