{"action":"created","issue":{"url":"https://api.github.com/repos/projectcalico/calico-cni/issues/68","repository_url":"https://api.github.com/repos/projectcalico/calico-cni","labels_url":"https://api.github.com/repos/projectcalico/calico-cni/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/projectcalico/calico-cni/issues/68/comments","events_url":"https://api.github.com/repos/projectcalico/calico-cni/issues/68/events","html_url":"https://github.com/projectcalico/calico-cni/issues/68","id":140246328,"number":68,"title":"Remove dependency on Docker client to determine NetworkMode","user":{"login":"caseydavenport","id":1944093,"avatar_url":"https://avatars.githubusercontent.com/u/1944093?v=3","gravatar_id":"","url":"https://api.github.com/users/caseydavenport","html_url":"https://github.com/caseydavenport","followers_url":"https://api.github.com/users/caseydavenport/followers","following_url":"https://api.github.com/users/caseydavenport/following{/other_user}","gists_url":"https://api.github.com/users/caseydavenport/gists{/gist_id}","starred_url":"https://api.github.com/users/caseydavenport/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caseydavenport/subscriptions","organizations_url":"https://api.github.com/users/caseydavenport/orgs","repos_url":"https://api.github.com/users/caseydavenport/repos","events_url":"https://api.github.com/users/caseydavenport/events{/privacy}","received_events_url":"https://api.github.com/users/caseydavenport/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-11T17:37:33Z","updated_at":"2016-03-11T17:38:12Z","closed_at":null,"body":"The CNI plugin currently calls out to the Docker client to check if NetworkMode == Host.\r\n\r\nIt needed to do this because Kubernetes was calling the CNI plugin on host networked pods, and the plugin can't do anything in this case.  See here: https://github.com/kubernetes/kubernetes/issues/19508\r\n\r\nHowever, as of https://github.com/kubernetes/kubernetes/pull/20019, the CNI plugin won't get called and won't need to perform this check.\r\n\r\nThis behavior breaks using the Calico CNI plugin with rkt under Kubernetes."},"comment":{"url":"https://api.github.com/repos/projectcalico/calico-cni/issues/comments/195471783","html_url":"https://github.com/projectcalico/calico-cni/issues/68#issuecomment-195471783","issue_url":"https://api.github.com/repos/projectcalico/calico-cni/issues/68","id":195471783,"user":{"login":"caseydavenport","id":1944093,"avatar_url":"https://avatars.githubusercontent.com/u/1944093?v=3","gravatar_id":"","url":"https://api.github.com/users/caseydavenport","html_url":"https://github.com/caseydavenport","followers_url":"https://api.github.com/users/caseydavenport/followers","following_url":"https://api.github.com/users/caseydavenport/following{/other_user}","gists_url":"https://api.github.com/users/caseydavenport/gists{/gist_id}","starred_url":"https://api.github.com/users/caseydavenport/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caseydavenport/subscriptions","organizations_url":"https://api.github.com/users/caseydavenport/orgs","repos_url":"https://api.github.com/users/caseydavenport/repos","events_url":"https://api.github.com/users/caseydavenport/events{/privacy}","received_events_url":"https://api.github.com/users/caseydavenport/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T17:38:11Z","updated_at":"2016-03-11T17:38:11Z","body":"This is the bit of code: https://github.com/projectcalico/calico-cni/blob/master/calico_cni/container_engines.py#L44"}}