{"action":"created","issue":{"url":"https://api.github.com/repos/rancher/rancher/issues/9597","repository_url":"https://api.github.com/repos/rancher/rancher","labels_url":"https://api.github.com/repos/rancher/rancher/issues/9597/labels{/name}","comments_url":"https://api.github.com/repos/rancher/rancher/issues/9597/comments","events_url":"https://api.github.com/repos/rancher/rancher/issues/9597/events","html_url":"https://github.com/rancher/rancher/issues/9597","id":248118007,"node_id":"MDU6SXNzdWUyNDgxMTgwMDc=","number":9597,"title":"run rancher agent with userns=host when usernamespace is enabled","user":{"login":"w3blogfr","id":2735852,"node_id":"MDQ6VXNlcjI3MzU4NTI=","avatar_url":"https://avatars2.githubusercontent.com/u/2735852?v=4","gravatar_id":"","url":"https://api.github.com/users/w3blogfr","html_url":"https://github.com/w3blogfr","followers_url":"https://api.github.com/users/w3blogfr/followers","following_url":"https://api.github.com/users/w3blogfr/following{/other_user}","gists_url":"https://api.github.com/users/w3blogfr/gists{/gist_id}","starred_url":"https://api.github.com/users/w3blogfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3blogfr/subscriptions","organizations_url":"https://api.github.com/users/w3blogfr/orgs","repos_url":"https://api.github.com/users/w3blogfr/repos","events_url":"https://api.github.com/users/w3blogfr/events{/privacy}","received_events_url":"https://api.github.com/users/w3blogfr/received_events","type":"User","site_admin":false},"labels":[{"id":203098419,"node_id":"MDU6TGFiZWwyMDMwOTg0MTk=","url":"https://api.github.com/repos/rancher/rancher/labels/area/agent","name":"area/agent","color":"FBCA04","default":false},{"id":145695746,"node_id":"MDU6TGFiZWwxNDU2OTU3NDY=","url":"https://api.github.com/repos/rancher/rancher/labels/kind/enhancement","name":"kind/enhancement","color":"84b6eb","default":false},{"id":618069126,"node_id":"MDU6TGFiZWw2MTgwNjkxMjY=","url":"https://api.github.com/repos/rancher/rancher/labels/version/1.6","name":"version/1.6","color":"e99695","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-08-04T21:09:18Z","updated_at":"2018-10-12T06:28:58Z","closed_at":"2018-10-12T06:28:58Z","author_association":"NONE","body":"My docker is configured with users namespace.\r\n\r\nTo get privileged, we can add userns flag when run docker. Is disable for this container user namespace\r\n\r\n`\r\ndocker run --userns=host --privileged\r\n\r\nwhen I run docker-agent to add an host, the container launch multiple container agents (health, vps, scheduler, ...), but this option is not set in run.sh inside container\r\n\r\nTo solve the issue, I will have to build my own image.\r\n\r\nIt's good be a good solution to allow a extra flag in rancher-agent command, and add this to all docker run command executed inside.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rancher/rancher/issues/comments/429218609","html_url":"https://github.com/rancher/rancher/issues/9597#issuecomment-429218609","issue_url":"https://api.github.com/repos/rancher/rancher/issues/9597","id":429218609,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTIxODYwOQ==","user":{"login":"loganhz","id":21168270,"node_id":"MDQ6VXNlcjIxMTY4Mjcw","avatar_url":"https://avatars3.githubusercontent.com/u/21168270?v=4","gravatar_id":"","url":"https://api.github.com/users/loganhz","html_url":"https://github.com/loganhz","followers_url":"https://api.github.com/users/loganhz/followers","following_url":"https://api.github.com/users/loganhz/following{/other_user}","gists_url":"https://api.github.com/users/loganhz/gists{/gist_id}","starred_url":"https://api.github.com/users/loganhz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loganhz/subscriptions","organizations_url":"https://api.github.com/users/loganhz/orgs","repos_url":"https://api.github.com/users/loganhz/repos","events_url":"https://api.github.com/users/loganhz/events{/privacy}","received_events_url":"https://api.github.com/users/loganhz/received_events","type":"User","site_admin":false},"created_at":"2018-10-12T06:28:58Z","updated_at":"2018-10-12T06:28:58Z","author_association":"MEMBER","body":"Thanks for your report!\r\n\r\nWith the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.\r\n\r\nIf you think we should keep this issue open, please let me know.\r\n"}}
{"actor":{"display_login":"loganhz"}}