{"action":"opened","number":36,"pull_request":{"url":"https://api.github.com/repos/nabla-containers/runnc/pulls/36","id":223759994,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzNzU5OTk0","html_url":"https://github.com/nabla-containers/runnc/pull/36","diff_url":"https://github.com/nabla-containers/runnc/pull/36.diff","patch_url":"https://github.com/nabla-containers/runnc/pull/36.patch","issue_url":"https://api.github.com/repos/nabla-containers/runnc/issues/36","number":36,"state":"open","locked":false,"title":"Updated to work with docker prestart hooks for network setup","user":{"login":"lumjjb","id":3060102,"node_id":"MDQ6VXNlcjMwNjAxMDI=","avatar_url":"https://avatars0.githubusercontent.com/u/3060102?v=4","gravatar_id":"","url":"https://api.github.com/users/lumjjb","html_url":"https://github.com/lumjjb","followers_url":"https://api.github.com/users/lumjjb/followers","following_url":"https://api.github.com/users/lumjjb/following{/other_user}","gists_url":"https://api.github.com/users/lumjjb/gists{/gist_id}","starred_url":"https://api.github.com/users/lumjjb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lumjjb/subscriptions","organizations_url":"https://api.github.com/users/lumjjb/orgs","repos_url":"https://api.github.com/users/lumjjb/repos","events_url":"https://api.github.com/users/lumjjb/events{/privacy}","received_events_url":"https://api.github.com/users/lumjjb/received_events","type":"User","site_admin":false},"body":"Implemented Docker networking (via `libnetwork-setkey` prehook):\r\n\r\n```\r\nlumjjb@lumjjb-ThinkPad-P50:~/go/src/github.com/nabla-containers/runnc/runnc-cli$ sudo docker run --rm --runtime=runnc2 nablact/node-express-nabla:latest  &\r\n[1] 1885\r\nlumjjb@lumjjb-ThinkPad-P50:~/go/src/github.com/nabla-containers/runnc/runnc-cli$ [/opt/runnc/bin/nabla-run --mem=512 --net=tap3192a6cf5e37 --disk=/var/run/docker/runtime-runnc2/moby/3192a6cf5e375d80ca4921a7322f7a3c6c9f312f5bbaae5041711b85315ac2be/rootfs.iso /var/lib/docker/aufs/mnt/bbc9d22899e6309385dd7d6e2066543e3ebf9d01823ac5d31dadf4c09a047895/node.nabla {\"env\":\"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\",\"env\":\"HOSTNAME=3192a6cf5e37\",\"cmdline\":\"/var/lib/docker/aufs/mnt/bbc9d22899e6309385dd7d6e2066543e3ebf9d01823ac5d31dadf4c09a047895/node.nabla /home/node/app/app.js\",\"net\":{\"if\":\"ukvmif0\",\"cloner\":\"True\",\"type\":\"inet\",\"method\":\"static\",\"addr\":\"172.17.0.2\",\"mask\":\"16\",\"gw\":\"172.17.0.1\"},\"blk\":{\"source\":\"etfs\",\"path\":\"/dev/ld0a\",\"fstype\":\"blk\",\"mountpoint\":\"/\"},\"cwd\":\"/\"}]\r\n            |      ___|\r\n  __|  _ \\  |  _ \\ __ \\\r\n\\__ \\ (   | | (   |  ) |\r\n____/\\___/ _|\\___/____/\r\nSolo5: Memory map: 512 MB addressable:\r\nSolo5:     unused @ (0x0 - 0xfffff)\r\nSolo5:       text @ (0x100000 - 0xaed6f7)\r\nSolo5:     rodata @ (0xaed6f8 - 0xda55b7)\r\nSolo5:       data @ (0xda55b8 - 0xfdbea7)\r\nSolo5:       heap >= 0xfdc000 < stack < 0x20000000\r\nrump kernel bare metal bootstrap\r\n\r\nCopyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,\r\n    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016\r\n    The NetBSD Foundation, Inc.  All rights reserved.\r\nCopyright (c) 1982, 1986, 1989, 1991, 1993\r\n    The Regents of the University of California.  All rights reserved.\r\n\r\nNetBSD 7.99.34 (RUMP-ROAST)\r\ntotal memory = 247 MB\r\ntimecounter: Timecounters tick every 10.000 msec\r\ntimecounter: Timecounter \"clockinterrupt\" frequency 100 Hz quality 0\r\ncpu0 at thinair0: rump virtual cpu\r\nroot file system type: rumpfs\r\nkern.module.path=/stand/amd64/7.99.34/modules\r\nmainbus0 (root)\r\ntimecounter: Timecounter \"bmktc\" frequency 1000000000 Hz quality 100\r\nukvmif0: Ethernet address 66:7c:0b:58:28:75\r\n/dev//dev/ld0a: hostpath XENBLK_/dev/ld0a (41668 KB)\r\nmounted tmpfs on /tmp\r\n\r\n=== calling \"/var/lib/docker/aufs/mnt/bbc9d22899e6309385dd7d6e2066543e3ebf9d01823ac5d31dadf4c09a047895/node.nabla\" main() ===\r\n\r\nrumprun: call to ``_sys___sigprocmask14'' ignored\r\nrumprun: call to ``sigaction'' ignored\r\nListening on port 8080\r\n\r\nlumjjb@lumjjb-ThinkPad-P50:~/go/src/github.com/nabla-containers/runnc/runnc-cli$ docker ps\r\nCONTAINER ID        IMAGE                               COMMAND                  CREATED             STATUS              PORTS               NAMES\r\n3192a6cf5e37        nablact/node-express-nabla:latest   \"/node.nabla /home/n…\"   4 seconds ago       Up 3 seconds                            practical_lovelace\r\nlumjjb@lumjjb-ThinkPad-P50:~/go/src/github.com/nabla-containers/runnc/runnc-cli$ docker inspect --format '{{ .NetworkSettings.IPAddress }}'  3192a6cf5e37\r\n172.17.0.2\r\nlumjjb@lumjjb-ThinkPad-P50:~/go/src/github.com/nabla-containers/runnc/runnc-cli$ curl 172.17.0.2:8080\r\nNabla!\r\n```\r\n\r\nSigned-off-by: Brandon Lum <lumjjb@gmail.com>","created_at":"2018-10-17T21:31:32Z","updated_at":"2018-10-17T21:31:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/nabla-containers/runnc/pulls/36/commits","review_comments_url":"https://api.github.com/repos/nabla-containers/runnc/pulls/36/comments","review_comment_url":"https://api.github.com/repos/nabla-containers/runnc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nabla-containers/runnc/issues/36/comments","statuses_url":"https://api.github.com/repos/nabla-containers/runnc/statuses/3e2f4290cdc7eee3db65621860ef02f3e2d78367","head":{"label":"nabla-containers:docker-network","ref":"docker-network","sha":"3e2f4290cdc7eee3db65621860ef02f3e2d78367","user":{"login":"nabla-containers","id":39711095,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5NzExMDk1","avatar_url":"https://avatars1.githubusercontent.com/u/39711095?v=4","gravatar_id":"","url":"https://api.github.com/users/nabla-containers","html_url":"https://github.com/nabla-containers","followers_url":"https://api.github.com/users/nabla-containers/followers","following_url":"https://api.github.com/users/nabla-containers/following{/other_user}","gists_url":"https://api.github.com/users/nabla-containers/gists{/gist_id}","starred_url":"https://api.github.com/users/nabla-containers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nabla-containers/subscriptions","organizations_url":"https://api.github.com/users/nabla-containers/orgs","repos_url":"https://api.github.com/users/nabla-containers/repos","events_url":"https://api.github.com/users/nabla-containers/events{/privacy}","received_events_url":"https://api.github.com/users/nabla-containers/received_events","type":"Organization","site_admin":false},"repo":{"id":137229911,"node_id":"MDEwOlJlcG9zaXRvcnkxMzcyMjk5MTE=","name":"runnc","full_name":"nabla-containers/runnc","private":false,"owner":{"login":"nabla-containers","id":39711095,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5NzExMDk1","avatar_url":"https://avatars1.githubusercontent.com/u/39711095?v=4","gravatar_id":"","url":"https://api.github.com/users/nabla-containers","html_url":"https://github.com/nabla-containers","followers_url":"https://api.github.com/users/nabla-containers/followers","following_url":"https://api.github.com/users/nabla-containers/following{/other_user}","gists_url":"https://api.github.com/users/nabla-containers/gists{/gist_id}","starred_url":"https://api.github.com/users/nabla-containers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nabla-containers/subscriptions","organizations_url":"https://api.github.com/users/nabla-containers/orgs","repos_url":"https://api.github.com/users/nabla-containers/repos","events_url":"https://api.github.com/users/nabla-containers/events{/privacy}","received_events_url":"https://api.github.com/users/nabla-containers/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/nabla-containers/runnc","description":" OCI-interfacing Container runtime for Nabla Containers ","fork":false,"url":"https://api.github.com/repos/nabla-containers/runnc","forks_url":"https://api.github.com/repos/nabla-containers/runnc/forks","keys_url":"https://api.github.com/repos/nabla-containers/runnc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nabla-containers/runnc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nabla-containers/runnc/teams","hooks_url":"https://api.github.com/repos/nabla-containers/runnc/hooks","issue_events_url":"https://api.github.com/repos/nabla-containers/runnc/issues/events{/number}","events_url":"https://api.github.com/repos/nabla-containers/runnc/events","assignees_url":"https://api.github.com/repos/nabla-containers/runnc/assignees{/user}","branches_url":"https://api.github.com/repos/nabla-containers/runnc/branches{/branch}","tags_url":"https://api.github.com/repos/nabla-containers/runnc/tags","blobs_url":"https://api.github.com/repos/nabla-containers/runnc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nabla-containers/runnc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nabla-containers/runnc/git/refs{/sha}","trees_url":"https://api.github.com/repos/nabla-containers/runnc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nabla-containers/runnc/statuses/{sha}","languages_url":"https://api.github.com/repos/nabla-containers/runnc/languages","stargazers_url":"https://api.github.com/repos/nabla-containers/runnc/stargazers","contributors_url":"https://api.github.com/repos/nabla-containers/runnc/contributors","subscribers_url":"https://api.github.com/repos/nabla-containers/runnc/subscribers","subscription_url":"https://api.github.com/repos/nabla-containers/runnc/subscription","commits_url":"https://api.github.com/repos/nabla-containers/runnc/commits{/sha}","git_commits_url":"https://api.github.com/repos/nabla-containers/runnc/git/commits{/sha}","comments_url":"https://api.github.com/repos/nabla-containers/runnc/comments{/number}","issue_comment_url":"https://api.github.com/repos/nabla-containers/runnc/issues/comments{/number}","contents_url":"https://api.github.com/repos/nabla-containers/runnc/contents/{+path}","compare_url":"https://api.github.com/repos/nabla-containers/runnc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nabla-containers/runnc/merges","archive_url":"https://api.github.com/repos/nabla-containers/runnc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nabla-containers/runnc/downloads","issues_url":"https://api.github.com/repos/nabla-containers/runnc/issues{/number}","pulls_url":"https://api.github.com/repos/nabla-containers/runnc/pulls{/number}","milestones_url":"https://api.github.com/repos/nabla-containers/runnc/milestones{/number}","notifications_url":"https://api.github.com/repos/nabla-containers/runnc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nabla-containers/runnc/labels{/name}","releases_url":"https://api.github.com/repos/nabla-containers/runnc/releases{/id}","deployments_url":"https://api.github.com/repos/nabla-containers/runnc/deployments","created_at":"2018-06-13T14:49:39Z","updated_at":"2018-10-16T20:08:05Z","pushed_at":"2018-10-17T21:29:02Z","git_url":"git://github.com/nabla-containers/runnc.git","ssh_url":"git@github.com:nabla-containers/runnc.git","clone_url":"https://github.com/nabla-containers/runnc.git","svn_url":"https://github.com/nabla-containers/runnc","homepage":"https://nabla-containers.github.io/","size":3736,"stargazers_count":77,"watchers_count":77,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"isc","name":"ISC License","spdx_id":"ISC","url":"https://api.github.com/licenses/isc","node_id":"MDc6TGljZW5zZTEw"},"forks":6,"open_issues":4,"watchers":77,"default_branch":"master"}},"base":{"label":"nabla-containers:master","ref":"master","sha":"61d33ece9bc23af32033da8cb5aaa198791f6627","user":{"login":"nabla-containers","id":39711095,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5NzExMDk1","avatar_url":"https://avatars1.githubusercontent.com/u/39711095?v=4","gravatar_id":"","url":"https://api.github.com/users/nabla-containers","html_url":"https://github.com/nabla-containers","followers_url":"https://api.github.com/users/nabla-containers/followers","following_url":"https://api.github.com/users/nabla-containers/following{/other_user}","gists_url":"https://api.github.com/users/nabla-containers/gists{/gist_id}","starred_url":"https://api.github.com/users/nabla-containers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nabla-containers/subscriptions","organizations_url":"https://api.github.com/users/nabla-containers/orgs","repos_url":"https://api.github.com/users/nabla-containers/repos","events_url":"https://api.github.com/users/nabla-containers/events{/privacy}","received_events_url":"https://api.github.com/users/nabla-containers/received_events","type":"Organization","site_admin":false},"repo":{"id":137229911,"node_id":"MDEwOlJlcG9zaXRvcnkxMzcyMjk5MTE=","name":"runnc","full_name":"nabla-containers/runnc","private":false,"owner":{"login":"nabla-containers","id":39711095,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5NzExMDk1","avatar_url":"https://avatars1.githubusercontent.com/u/39711095?v=4","gravatar_id":"","url":"https://api.github.com/users/nabla-containers","html_url":"https://github.com/nabla-containers","followers_url":"https://api.github.com/users/nabla-containers/followers","following_url":"https://api.github.com/users/nabla-containers/following{/other_user}","gists_url":"https://api.github.com/users/nabla-containers/gists{/gist_id}","starred_url":"https://api.github.com/users/nabla-containers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nabla-containers/subscriptions","organizations_url":"https://api.github.com/users/nabla-containers/orgs","repos_url":"https://api.github.com/users/nabla-containers/repos","events_url":"https://api.github.com/users/nabla-containers/events{/privacy}","received_events_url":"https://api.github.com/users/nabla-containers/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/nabla-containers/runnc","description":" OCI-interfacing Container runtime for Nabla Containers ","fork":false,"url":"https://api.github.com/repos/nabla-containers/runnc","forks_url":"https://api.github.com/repos/nabla-containers/runnc/forks","keys_url":"https://api.github.com/repos/nabla-containers/runnc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nabla-containers/runnc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nabla-containers/runnc/teams","hooks_url":"https://api.github.com/repos/nabla-containers/runnc/hooks","issue_events_url":"https://api.github.com/repos/nabla-containers/runnc/issues/events{/number}","events_url":"https://api.github.com/repos/nabla-containers/runnc/events","assignees_url":"https://api.github.com/repos/nabla-containers/runnc/assignees{/user}","branches_url":"https://api.github.com/repos/nabla-containers/runnc/branches{/branch}","tags_url":"https://api.github.com/repos/nabla-containers/runnc/tags","blobs_url":"https://api.github.com/repos/nabla-containers/runnc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nabla-containers/runnc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nabla-containers/runnc/git/refs{/sha}","trees_url":"https://api.github.com/repos/nabla-containers/runnc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nabla-containers/runnc/statuses/{sha}","languages_url":"https://api.github.com/repos/nabla-containers/runnc/languages","stargazers_url":"https://api.github.com/repos/nabla-containers/runnc/stargazers","contributors_url":"https://api.github.com/repos/nabla-containers/runnc/contributors","subscribers_url":"https://api.github.com/repos/nabla-containers/runnc/subscribers","subscription_url":"https://api.github.com/repos/nabla-containers/runnc/subscription","commits_url":"https://api.github.com/repos/nabla-containers/runnc/commits{/sha}","git_commits_url":"https://api.github.com/repos/nabla-containers/runnc/git/commits{/sha}","comments_url":"https://api.github.com/repos/nabla-containers/runnc/comments{/number}","issue_comment_url":"https://api.github.com/repos/nabla-containers/runnc/issues/comments{/number}","contents_url":"https://api.github.com/repos/nabla-containers/runnc/contents/{+path}","compare_url":"https://api.github.com/repos/nabla-containers/runnc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nabla-containers/runnc/merges","archive_url":"https://api.github.com/repos/nabla-containers/runnc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nabla-containers/runnc/downloads","issues_url":"https://api.github.com/repos/nabla-containers/runnc/issues{/number}","pulls_url":"https://api.github.com/repos/nabla-containers/runnc/pulls{/number}","milestones_url":"https://api.github.com/repos/nabla-containers/runnc/milestones{/number}","notifications_url":"https://api.github.com/repos/nabla-containers/runnc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nabla-containers/runnc/labels{/name}","releases_url":"https://api.github.com/repos/nabla-containers/runnc/releases{/id}","deployments_url":"https://api.github.com/repos/nabla-containers/runnc/deployments","created_at":"2018-06-13T14:49:39Z","updated_at":"2018-10-16T20:08:05Z","pushed_at":"2018-10-17T21:29:02Z","git_url":"git://github.com/nabla-containers/runnc.git","ssh_url":"git@github.com:nabla-containers/runnc.git","clone_url":"https://github.com/nabla-containers/runnc.git","svn_url":"https://github.com/nabla-containers/runnc","homepage":"https://nabla-containers.github.io/","size":3736,"stargazers_count":77,"watchers_count":77,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"isc","name":"ISC License","spdx_id":"ISC","url":"https://api.github.com/licenses/isc","node_id":"MDc6TGljZW5zZTEw"},"forks":6,"open_issues":4,"watchers":77,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nabla-containers/runnc/pulls/36"},"html":{"href":"https://github.com/nabla-containers/runnc/pull/36"},"issue":{"href":"https://api.github.com/repos/nabla-containers/runnc/issues/36"},"comments":{"href":"https://api.github.com/repos/nabla-containers/runnc/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/nabla-containers/runnc/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/nabla-containers/runnc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nabla-containers/runnc/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/nabla-containers/runnc/statuses/3e2f4290cdc7eee3db65621860ef02f3e2d78367"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":129,"deletions":30,"changed_files":5}}
{"actor":{"display_login":"lumjjb"}}