{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/22805","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/22805/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/22805/comments","events_url":"https://api.github.com/repos/docker/docker/issues/22805/events","html_url":"https://github.com/docker/docker/issues/22805","id":155463965,"number":22805,"title":"[1.11] ‘Spurious IPv4 forwarding disabled’ warning with --net='host'","user":{"login":"sanmai-NL","id":3374183,"avatar_url":"https://avatars.githubusercontent.com/u/3374183?v=3","gravatar_id":"","url":"https://api.github.com/users/sanmai-NL","html_url":"https://github.com/sanmai-NL","followers_url":"https://api.github.com/users/sanmai-NL/followers","following_url":"https://api.github.com/users/sanmai-NL/following{/other_user}","gists_url":"https://api.github.com/users/sanmai-NL/gists{/gist_id}","starred_url":"https://api.github.com/users/sanmai-NL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanmai-NL/subscriptions","organizations_url":"https://api.github.com/users/sanmai-NL/orgs","repos_url":"https://api.github.com/users/sanmai-NL/repos","events_url":"https://api.github.com/users/sanmai-NL/events{/privacy}","received_events_url":"https://api.github.com/users/sanmai-NL/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/version/1.11","name":"version/1.11","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-18T10:09:10Z","updated_at":"2016-05-18T17:59:26Z","closed_at":null,"body":"**Output of `docker version`:**\r\n\r\n```\r\nClient:\r\n Version:      1.11.1\r\n API version:  1.23\r\n Go version:   go1.6.2\r\n Git commit:   5604cbe\r\n Built:        Mon May  2 00:06:51 2016\r\n OS/Arch:      linux/amd64\r\n\r\nServer:\r\n Version:      1.11.1\r\n API version:  1.23\r\n Go version:   go1.6.2\r\n Git commit:   5604cbe\r\n Built:        Mon May  2 00:06:51 2016\r\n OS/Arch:      linux/amd64\r\n```\r\n\r\n**Output of `docker info`:**\r\nUnnecessary.\r\n\r\n**Steps to reproduce the issue:**\r\n```\r\n# Start Docker daemon systemd service like so:\r\n# ExecStart=/usr/bin/docker daemon --ip-forward=false -H fd://\r\n\r\nsudo docker run --net='host' --rm -it alpine /bin/sh\r\n```\r\n\r\n**Describe the results you received:**\r\n\r\nOutputs:\r\n```\r\nWARNING: IPv4 forwarding is disabled. Networking will not work\r\n```\r\n\r\n**Describe the results you expected:**\r\nNo such warning. Networking, including container <-> WAN routing, works fine."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/220108464","html_url":"https://github.com/docker/docker/issues/22805#issuecomment-220108464","issue_url":"https://api.github.com/repos/docker/docker/issues/22805","id":220108464,"user":{"login":"thaJeztah","id":1804568,"avatar_url":"https://avatars.githubusercontent.com/u/1804568?v=3","gravatar_id":"","url":"https://api.github.com/users/thaJeztah","html_url":"https://github.com/thaJeztah","followers_url":"https://api.github.com/users/thaJeztah/followers","following_url":"https://api.github.com/users/thaJeztah/following{/other_user}","gists_url":"https://api.github.com/users/thaJeztah/gists{/gist_id}","starred_url":"https://api.github.com/users/thaJeztah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaJeztah/subscriptions","organizations_url":"https://api.github.com/users/thaJeztah/orgs","repos_url":"https://api.github.com/users/thaJeztah/repos","events_url":"https://api.github.com/users/thaJeztah/events{/privacy}","received_events_url":"https://api.github.com/users/thaJeztah/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T17:59:26Z","updated_at":"2016-05-18T17:59:26Z","body":"Ah, yes, that warning doesn't make much sense for containers running with `--net=host`\r\n\r\nI'll see if I can make a PR to fix that."}}