{"action":"closed","number":609,"pull_request":{"url":"https://api.github.com/repos/docker/libcontainer/pulls/609","id":36662705,"html_url":"https://github.com/docker/libcontainer/pull/609","diff_url":"https://github.com/docker/libcontainer/pull/609.diff","patch_url":"https://github.com/docker/libcontainer/pull/609.patch","issue_url":"https://api.github.com/repos/docker/libcontainer/issues/609","number":609,"state":"closed","locked":false,"title":"A container can join pid namespace of another container.","user":{"login":"dqminh","id":62707,"avatar_url":"https://avatars.githubusercontent.com/u/62707?v=3","gravatar_id":"","url":"https://api.github.com/users/dqminh","html_url":"https://github.com/dqminh","followers_url":"https://api.github.com/users/dqminh/followers","following_url":"https://api.github.com/users/dqminh/following{/other_user}","gists_url":"https://api.github.com/users/dqminh/gists{/gist_id}","starred_url":"https://api.github.com/users/dqminh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dqminh/subscriptions","organizations_url":"https://api.github.com/users/dqminh/orgs","repos_url":"https://api.github.com/users/dqminh/repos","events_url":"https://api.github.com/users/dqminh/events{/privacy}","received_events_url":"https://api.github.com/users/dqminh/received_events","type":"User","site_admin":false},"body":"Fix #604 \r\n\r\nThis supports setting `configs.NEWPID` to an existing PID namespace for a container's init process. It leverages the same C code infrastructure for `execin` to clone a new init process with the wanted PID namespace.\r\n\r\nEdit: Because of some sharing in code between init and execin, execin also supports joining userns of the init process now. Init process cant join mnt/userns of another init process yet.","created_at":"2015-06-01T19:37:57Z","updated_at":"2015-07-14T01:36:33Z","closed_at":"2015-07-14T01:36:33Z","merged_at":null,"merge_commit_sha":"f2590030148395b08b751a599b5dd90940d4e6c6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker/libcontainer/pulls/609/commits","review_comments_url":"https://api.github.com/repos/docker/libcontainer/pulls/609/comments","review_comment_url":"https://api.github.com/repos/docker/libcontainer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/libcontainer/issues/609/comments","statuses_url":"https://api.github.com/repos/docker/libcontainer/statuses/7860be1b8bae190e2a76e65fb30294a901bbca55","head":{"label":"dqminh:pidns","ref":"pidns","sha":"7860be1b8bae190e2a76e65fb30294a901bbca55","user":{"login":"dqminh","id":62707,"avatar_url":"https://avatars.githubusercontent.com/u/62707?v=3","gravatar_id":"","url":"https://api.github.com/users/dqminh","html_url":"https://github.com/dqminh","followers_url":"https://api.github.com/users/dqminh/followers","following_url":"https://api.github.com/users/dqminh/following{/other_user}","gists_url":"https://api.github.com/users/dqminh/gists{/gist_id}","starred_url":"https://api.github.com/users/dqminh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dqminh/subscriptions","organizations_url":"https://api.github.com/users/dqminh/orgs","repos_url":"https://api.github.com/users/dqminh/repos","events_url":"https://api.github.com/users/dqminh/events{/privacy}","received_events_url":"https://api.github.com/users/dqminh/received_events","type":"User","site_admin":false},"repo":{"id":21382012,"name":"libcontainer","full_name":"dqminh/libcontainer","owner":{"login":"dqminh","id":62707,"avatar_url":"https://avatars.githubusercontent.com/u/62707?v=3","gravatar_id":"","url":"https://api.github.com/users/dqminh","html_url":"https://github.com/dqminh","followers_url":"https://api.github.com/users/dqminh/followers","following_url":"https://api.github.com/users/dqminh/following{/other_user}","gists_url":"https://api.github.com/users/dqminh/gists{/gist_id}","starred_url":"https://api.github.com/users/dqminh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dqminh/subscriptions","organizations_url":"https://api.github.com/users/dqminh/orgs","repos_url":"https://api.github.com/users/dqminh/repos","events_url":"https://api.github.com/users/dqminh/events{/privacy}","received_events_url":"https://api.github.com/users/dqminh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dqminh/libcontainer","description":"Linux Containers","fork":true,"url":"https://api.github.com/repos/dqminh/libcontainer","forks_url":"https://api.github.com/repos/dqminh/libcontainer/forks","keys_url":"https://api.github.com/repos/dqminh/libcontainer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dqminh/libcontainer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dqminh/libcontainer/teams","hooks_url":"https://api.github.com/repos/dqminh/libcontainer/hooks","issue_events_url":"https://api.github.com/repos/dqminh/libcontainer/issues/events{/number}","events_url":"https://api.github.com/repos/dqminh/libcontainer/events","assignees_url":"https://api.github.com/repos/dqminh/libcontainer/assignees{/user}","branches_url":"https://api.github.com/repos/dqminh/libcontainer/branches{/branch}","tags_url":"https://api.github.com/repos/dqminh/libcontainer/tags","blobs_url":"https://api.github.com/repos/dqminh/libcontainer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dqminh/libcontainer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dqminh/libcontainer/git/refs{/sha}","trees_url":"https://api.github.com/repos/dqminh/libcontainer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dqminh/libcontainer/statuses/{sha}","languages_url":"https://api.github.com/repos/dqminh/libcontainer/languages","stargazers_url":"https://api.github.com/repos/dqminh/libcontainer/stargazers","contributors_url":"https://api.github.com/repos/dqminh/libcontainer/contributors","subscribers_url":"https://api.github.com/repos/dqminh/libcontainer/subscribers","subscription_url":"https://api.github.com/repos/dqminh/libcontainer/subscription","commits_url":"https://api.github.com/repos/dqminh/libcontainer/commits{/sha}","git_commits_url":"https://api.github.com/repos/dqminh/libcontainer/git/commits{/sha}","comments_url":"https://api.github.com/repos/dqminh/libcontainer/comments{/number}","issue_comment_url":"https://api.github.com/repos/dqminh/libcontainer/issues/comments{/number}","contents_url":"https://api.github.com/repos/dqminh/libcontainer/contents/{+path}","compare_url":"https://api.github.com/repos/dqminh/libcontainer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dqminh/libcontainer/merges","archive_url":"https://api.github.com/repos/dqminh/libcontainer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dqminh/libcontainer/downloads","issues_url":"https://api.github.com/repos/dqminh/libcontainer/issues{/number}","pulls_url":"https://api.github.com/repos/dqminh/libcontainer/pulls{/number}","milestones_url":"https://api.github.com/repos/dqminh/libcontainer/milestones{/number}","notifications_url":"https://api.github.com/repos/dqminh/libcontainer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dqminh/libcontainer/labels{/name}","releases_url":"https://api.github.com/repos/dqminh/libcontainer/releases{/id}","created_at":"2014-07-01T09:22:51Z","updated_at":"2015-04-05T13:38:42Z","pushed_at":"2015-07-09T11:39:08Z","git_url":"git://github.com/dqminh/libcontainer.git","ssh_url":"git@github.com:dqminh/libcontainer.git","clone_url":"https://github.com/dqminh/libcontainer.git","svn_url":"https://github.com/dqminh/libcontainer","homepage":"http://www.docker.com/","size":2417,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"docker:master","ref":"master","sha":"83a102cc68a09d890cce3b6c2e5c14c49e6373a0","user":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"repo":{"id":15693680,"name":"libcontainer","full_name":"docker/libcontainer","owner":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker/libcontainer","description":"PROJECT MOVED TO RUNC","fork":false,"url":"https://api.github.com/repos/docker/libcontainer","forks_url":"https://api.github.com/repos/docker/libcontainer/forks","keys_url":"https://api.github.com/repos/docker/libcontainer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/libcontainer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/libcontainer/teams","hooks_url":"https://api.github.com/repos/docker/libcontainer/hooks","issue_events_url":"https://api.github.com/repos/docker/libcontainer/issues/events{/number}","events_url":"https://api.github.com/repos/docker/libcontainer/events","assignees_url":"https://api.github.com/repos/docker/libcontainer/assignees{/user}","branches_url":"https://api.github.com/repos/docker/libcontainer/branches{/branch}","tags_url":"https://api.github.com/repos/docker/libcontainer/tags","blobs_url":"https://api.github.com/repos/docker/libcontainer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/libcontainer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/libcontainer/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/libcontainer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/libcontainer/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/libcontainer/languages","stargazers_url":"https://api.github.com/repos/docker/libcontainer/stargazers","contributors_url":"https://api.github.com/repos/docker/libcontainer/contributors","subscribers_url":"https://api.github.com/repos/docker/libcontainer/subscribers","subscription_url":"https://api.github.com/repos/docker/libcontainer/subscription","commits_url":"https://api.github.com/repos/docker/libcontainer/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/libcontainer/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/libcontainer/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/libcontainer/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/libcontainer/contents/{+path}","compare_url":"https://api.github.com/repos/docker/libcontainer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/libcontainer/merges","archive_url":"https://api.github.com/repos/docker/libcontainer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/libcontainer/downloads","issues_url":"https://api.github.com/repos/docker/libcontainer/issues{/number}","pulls_url":"https://api.github.com/repos/docker/libcontainer/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/libcontainer/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/libcontainer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/libcontainer/labels{/name}","releases_url":"https://api.github.com/repos/docker/libcontainer/releases{/id}","created_at":"2014-01-07T03:05:05Z","updated_at":"2015-07-13T08:30:34Z","pushed_at":"2015-07-09T11:39:09Z","git_url":"git://github.com/docker/libcontainer.git","ssh_url":"git@github.com:docker/libcontainer.git","clone_url":"https://github.com/docker/libcontainer.git","svn_url":"https://github.com/docker/libcontainer","homepage":"https://github.com/opencontainers/runc","size":8274,"stargazers_count":837,"watchers_count":837,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":259,"mirror_url":null,"open_issues_count":31,"forks":259,"open_issues":31,"watchers":837,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/libcontainer/pulls/609"},"html":{"href":"https://github.com/docker/libcontainer/pull/609"},"issue":{"href":"https://api.github.com/repos/docker/libcontainer/issues/609"},"comments":{"href":"https://api.github.com/repos/docker/libcontainer/issues/609/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/libcontainer/pulls/609/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/libcontainer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/libcontainer/pulls/609/commits"},"statuses":{"href":"https://api.github.com/repos/docker/libcontainer/statuses/7860be1b8bae190e2a76e65fb30294a901bbca55"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":21,"review_comments":28,"commits":6,"additions":457,"deletions":129,"changed_files":12}}