{"action":"created","issue":{"url":"https://api.github.com/repos/hyperhq/runv/issues/472","repository_url":"https://api.github.com/repos/hyperhq/runv","labels_url":"https://api.github.com/repos/hyperhq/runv/issues/472/labels{/name}","comments_url":"https://api.github.com/repos/hyperhq/runv/issues/472/comments","events_url":"https://api.github.com/repos/hyperhq/runv/issues/472/events","html_url":"https://github.com/hyperhq/runv/issues/472","id":219797387,"number":472,"title":"How to locate vm root?","user":{"login":"Crazykev","id":7436779,"avatar_url":"https://avatars0.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":[{"id":241848673,"url":"https://api.github.com/repos/hyperhq/runv/labels/class:question","name":"class:question","color":"cc317c","default":false}],"state":"open","locked":false,"assignee":{"login":"laijs","id":125671,"avatar_url":"https://avatars2.githubusercontent.com/u/125671?v=3","gravatar_id":"","url":"https://api.github.com/users/laijs","html_url":"https://github.com/laijs","followers_url":"https://api.github.com/users/laijs/followers","following_url":"https://api.github.com/users/laijs/following{/other_user}","gists_url":"https://api.github.com/users/laijs/gists{/gist_id}","starred_url":"https://api.github.com/users/laijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laijs/subscriptions","organizations_url":"https://api.github.com/users/laijs/orgs","repos_url":"https://api.github.com/users/laijs/repos","events_url":"https://api.github.com/users/laijs/events{/privacy}","received_events_url":"https://api.github.com/users/laijs/received_events","type":"User","site_admin":false},"assignees":[{"login":"laijs","id":125671,"avatar_url":"https://avatars2.githubusercontent.com/u/125671?v=3","gravatar_id":"","url":"https://api.github.com/users/laijs","html_url":"https://github.com/laijs","followers_url":"https://api.github.com/users/laijs/followers","following_url":"https://api.github.com/users/laijs/following{/other_user}","gists_url":"https://api.github.com/users/laijs/gists{/gist_id}","starred_url":"https://api.github.com/users/laijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laijs/subscriptions","organizations_url":"https://api.github.com/users/laijs/orgs","repos_url":"https://api.github.com/users/laijs/repos","events_url":"https://api.github.com/users/laijs/events{/privacy}","received_events_url":"https://api.github.com/users/laijs/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-04-06T06:19:51Z","updated_at":"2017-05-16T15:01:43Z","closed_at":null,"body":"For now, hypervisor related stuff(socket/pidfile etc.) exist in `/var/run/hyper/` dir, and named with generated vm name `vm-xxxxxxxx`. This vm name can't be got through any runv command or option, could we offer a mechanism to get this vm specified path? \r\n1. add additional field in `runv state` result to include vm id.\r\n2. Or add a symbol link in container root dir, ie `/run/runv/<container_id>/vm-root` --> `/var/run/hyper/<vm_id>`\r\n\r\n/cc @laijs "},"comment":{"url":"https://api.github.com/repos/hyperhq/runv/issues/comments/301810582","html_url":"https://github.com/hyperhq/runv/issues/472#issuecomment-301810582","issue_url":"https://api.github.com/repos/hyperhq/runv/issues/472","id":301810582,"user":{"login":"laijs","id":125671,"avatar_url":"https://avatars2.githubusercontent.com/u/125671?v=3","gravatar_id":"","url":"https://api.github.com/users/laijs","html_url":"https://github.com/laijs","followers_url":"https://api.github.com/users/laijs/followers","following_url":"https://api.github.com/users/laijs/following{/other_user}","gists_url":"https://api.github.com/users/laijs/gists{/gist_id}","starred_url":"https://api.github.com/users/laijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laijs/subscriptions","organizations_url":"https://api.github.com/users/laijs/orgs","repos_url":"https://api.github.com/users/laijs/repos","events_url":"https://api.github.com/users/laijs/events{/privacy}","received_events_url":"https://api.github.com/users/laijs/received_events","type":"User","site_admin":false},"created_at":"2017-05-16T15:01:43Z","updated_at":"2017-05-16T15:01:43Z","body":"you can set the hypervisor.BaseDir to the containerd when runv containerd is just started.\r\nand the vm_id can be fetched from vm.Id.\r\ncould you make a pr for it please?"}}
{"actor":{"display_login":"laijs"}}