{"action":"created","issue":{"url":"https://api.github.com/repos/projectatomic/docker/issues/303","repository_url":"https://api.github.com/repos/projectatomic/docker","labels_url":"https://api.github.com/repos/projectatomic/docker/issues/303/labels{/name}","comments_url":"https://api.github.com/repos/projectatomic/docker/issues/303/comments","events_url":"https://api.github.com/repos/projectatomic/docker/issues/303/events","html_url":"https://github.com/projectatomic/docker/pull/303","id":305224615,"number":303,"title":"Dev/tsweeney/uninfo2","user":{"login":"TomSweeneyRedHat","id":25613829,"avatar_url":"https://avatars3.githubusercontent.com/u/25613829?v=4","gravatar_id":"","url":"https://api.github.com/users/TomSweeneyRedHat","html_url":"https://github.com/TomSweeneyRedHat","followers_url":"https://api.github.com/users/TomSweeneyRedHat/followers","following_url":"https://api.github.com/users/TomSweeneyRedHat/following{/other_user}","gists_url":"https://api.github.com/users/TomSweeneyRedHat/gists{/gist_id}","starred_url":"https://api.github.com/users/TomSweeneyRedHat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomSweeneyRedHat/subscriptions","organizations_url":"https://api.github.com/users/TomSweeneyRedHat/orgs","repos_url":"https://api.github.com/users/TomSweeneyRedHat/repos","events_url":"https://api.github.com/users/TomSweeneyRedHat/events{/privacy}","received_events_url":"https://api.github.com/users/TomSweeneyRedHat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-14T16:05:33Z","updated_at":"2018-03-14T16:07:01Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/projectatomic/docker/pulls/303","html_url":"https://github.com/projectatomic/docker/pull/303","diff_url":"https://github.com/projectatomic/docker/pull/303.diff","patch_url":"https://github.com/projectatomic/docker/pull/303.patch"},"body":"Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>\r\n\r\n**- What I did**\r\n\r\nUpdated man page for dockerd to indicate that subuid and subgid files need to be created for --userns-remap and then added a little more verbiage to the errors to make it more user friendly.  This is the docker-1.13.1-rhel variant to go along with the docker-1.13.1 variant at #301 \r\n\r\n**- How I did it**\r\n\r\nvi is my friend.\r\n\r\n**- How to verify it**\r\n1. Verify that both /etc/subuid and /etc/subgid are present and empty.\r\n2. Add --userns-remap=default to OPTIONS in /etc/sysconfig/docker\r\n3.  restart docker service 'systemctl restart docker'\r\nShould see:\r\ndockerd-current[*]: Can't create ID mappings: No subuid ranges found for user \"dockremap\" in /etc/subuid\r\n\r\n4. enter values into /etc/subuid via 'echo dockremap:808080:1000 >> /etc/subuid'\r\n5. restart docker service 'systemctl restart docker'\r\nShould see: \r\ndockerd-current[*]: Can't create ID mappings: No subgid ranges found for gid \"dockremap\" in /etc/subgid\r\n\r\n6. enter values into /etc/subgid via 'echo dockremap:808080:1000 >> /etc/subgid'\r\n7. restart docker service 'systemctl restart docker'\r\n\r\nShould not see an error.\r\n\r\nVerify 'man dockerd' has new verbiage as noted below.\r\n\r\nFixes https://bugzilla.redhat.com/show_bug.cgi?id=1546870\r\n\r\n**- Description for the changelog**\r\n\r\nAdd better error for subuid/subgid with usernamespace\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/projectatomic/docker/issues/comments/373077821","html_url":"https://github.com/projectatomic/docker/pull/303#issuecomment-373077821","issue_url":"https://api.github.com/repos/projectatomic/docker/issues/303","id":373077821,"user":{"login":"TomSweeneyRedHat","id":25613829,"avatar_url":"https://avatars3.githubusercontent.com/u/25613829?v=4","gravatar_id":"","url":"https://api.github.com/users/TomSweeneyRedHat","html_url":"https://github.com/TomSweeneyRedHat","followers_url":"https://api.github.com/users/TomSweeneyRedHat/followers","following_url":"https://api.github.com/users/TomSweeneyRedHat/following{/other_user}","gists_url":"https://api.github.com/users/TomSweeneyRedHat/gists{/gist_id}","starred_url":"https://api.github.com/users/TomSweeneyRedHat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomSweeneyRedHat/subscriptions","organizations_url":"https://api.github.com/users/TomSweeneyRedHat/orgs","repos_url":"https://api.github.com/users/TomSweeneyRedHat/repos","events_url":"https://api.github.com/users/TomSweeneyRedHat/events{/privacy}","received_events_url":"https://api.github.com/users/TomSweeneyRedHat/received_events","type":"User","site_admin":false},"created_at":"2018-03-14T16:07:01Z","updated_at":"2018-03-14T16:07:01Z","author_association":"NONE","body":"@rhatdan @edsantiago @cevich 1-13.1-rhel variant.  I'm not planning to submit this to 12.6 or any other Docker variants, please holler if you think I should."}}
{"actor":{"display_login":"TomSweeneyRedHat"}}