{"action":"created","issue":{"url":"https://api.github.com/repos/docker/for-mac/issues/1374","repository_url":"https://api.github.com/repos/docker/for-mac","labels_url":"https://api.github.com/repos/docker/for-mac/issues/1374/labels{/name}","comments_url":"https://api.github.com/repos/docker/for-mac/issues/1374/comments","events_url":"https://api.github.com/repos/docker/for-mac/issues/1374/events","html_url":"https://github.com/docker/for-mac/issues/1374","id":211563966,"number":1374,"title":"Containers and docker commands constantly losing network connectivity. Multiple docker restarts required daily.","user":{"login":"zwass","id":575602,"avatar_url":"https://avatars0.githubusercontent.com/u/575602?v=4","gravatar_id":"","url":"https://api.github.com/users/zwass","html_url":"https://github.com/zwass","followers_url":"https://api.github.com/users/zwass/followers","following_url":"https://api.github.com/users/zwass/following{/other_user}","gists_url":"https://api.github.com/users/zwass/gists{/gist_id}","starred_url":"https://api.github.com/users/zwass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zwass/subscriptions","organizations_url":"https://api.github.com/users/zwass/orgs","repos_url":"https://api.github.com/users/zwass/repos","events_url":"https://api.github.com/users/zwass/events{/privacy}","received_events_url":"https://api.github.com/users/zwass/received_events","type":"User","site_admin":false},"labels":[{"id":433449269,"url":"https://api.github.com/repos/docker/for-mac/labels/osx/10.12.x","name":"osx/10.12.x","color":"d4c5f9","default":false},{"id":438330808,"url":"https://api.github.com/repos/docker/for-mac/labels/status/0-more-info-needed","name":"status/0-more-info-needed","color":"b60205","default":false},{"id":438330583,"url":"https://api.github.com/repos/docker/for-mac/labels/status/0-triage","name":"status/0-triage","color":"bfd4f2","default":false},{"id":538483588,"url":"https://api.github.com/repos/docker/for-mac/labels/version/1.13.1","name":"version/1.13.1","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":36,"created_at":"2017-03-03T00:50:20Z","updated_at":"2017-07-25T13:27:48Z","closed_at":null,"body":"### Expected behavior\r\nDocker and related commands run with stability.\r\n\r\n### Actual behavior\r\nI have to restart docker at least 2-3 times a day when I lose network connectivity with containers and docker/docker-compose commands begin to hang. Restarting docker for Mac seems to be the only fix.\r\n\r\n### Information\r\n\r\n  - Full output of the diagnostics from \"Diagnose & Feedback\" in the menu\r\n```\r\nfailure: Optional(\"diagnostic: response is not valid JSON\")\r\n```\r\nAfter another try the diagnostic \"succeeded\":\r\n```\r\nDocker for Mac: version: 1.13.1 (94675c5a7)\r\nmacOS: version 10.12.3 (build: 16D32)\r\nlogs: /tmp/B2462039-60A5-402A-AA03-4606F57E702D/20170302-164634.tar.gz\r\nfailure: docker ps failed: (Failure \"docker ps: timeout after 10.00s\")\r\n[OK]     vmnetd\r\n[OK]     dns\r\n[OK]     driver.amd64-linux\r\n[OK]     virtualization VT-X\r\n[OK]     app\r\n[OK]     moby\r\n[OK]     system\r\n[OK]     moby-syslog\r\n[OK]     db\r\n[OK]     env\r\n[OK]     virtualization kern.hv_support\r\n[OK]     slirp\r\n[OK]     osxfs\r\n[OK]     moby-console\r\n[OK]     logs\r\n[ERROR]  docker-cli\r\n         docker ps failed\r\n[OK]     menubar\r\n[OK]     disk\r\n```\r\nDiagnostic ID: B2462039-60A5-402A-AA03-4606F57E702D\r\n\r\n```\r\n$ docker-compose --verbose stop\r\ncompose.config.config.find: Using configuration files: ./docker-compose.yml\r\ndocker.auth.find_config_file: Trying paths: ['/Users/zwass/.docker/config.json', '/Users/zwass/.dockercfg']\r\ndocker.auth.find_config_file: Found file at path: /Users/zwass/.docker/config.json\r\ndocker.auth.load_config: Found 'auths' section\r\ndocker.auth.parse_auth: Found entry (registry=u'https://index.docker.io/v1/', username=u'zwass')\r\ncompose.cli.command.get_client: docker-compose version 1.11.1, build 7c5d5e4\r\ndocker-py version: 2.0.2\r\nCPython version: 2.7.12\r\nOpenSSL version: OpenSSL 1.0.2j  26 Sep 2016\r\ncompose.cli.command.get_client: Docker base_url: http+docker://localunixsocket\r\ncompose.cli.command.get_client: Docker version: KernelVersion=4.9.8-moby, Arch=amd64, BuildTime=2017-02-08T08:47:51.966588829+00:00, ApiVersion=1.26, Version=1.13.1, MinAPIVersion=1.12, GitCommit=092cba3, Os=linux, Experimental=True, GoVersion=go1.7.5\r\ncompose.cli.verbose_proxy.proxy_callable: docker containers <- (all=False, filters={u'label': [u'com.docker.compose.project=osquery', u'com.docker.compose.oneoff=False']})\r\nERROR: compose.cli.errors.log_timeout_error: An HTTP request took too long to complete. Retry with --verbose to obtain debug information.\r\nIf you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60).\r\n```\r\n\r\n```\r\n$ docker -D ps\r\n```\r\n(hangs indefinitely, I killed it after minutes)\r\n\r\n### Steps to reproduce the behavior\r\n\r\n  1. Use docker for a couple hours, starting and stopping containers.\r\n  2. Wait until docker-compose or other docker commands begin to fail.\r\n"},"comment":{"url":"https://api.github.com/repos/docker/for-mac/issues/comments/317736879","html_url":"https://github.com/docker/for-mac/issues/1374#issuecomment-317736879","issue_url":"https://api.github.com/repos/docker/for-mac/issues/1374","id":317736879,"user":{"login":"wpxgit","id":10629779,"avatar_url":"https://avatars2.githubusercontent.com/u/10629779?v=4","gravatar_id":"","url":"https://api.github.com/users/wpxgit","html_url":"https://github.com/wpxgit","followers_url":"https://api.github.com/users/wpxgit/followers","following_url":"https://api.github.com/users/wpxgit/following{/other_user}","gists_url":"https://api.github.com/users/wpxgit/gists{/gist_id}","starred_url":"https://api.github.com/users/wpxgit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wpxgit/subscriptions","organizations_url":"https://api.github.com/users/wpxgit/orgs","repos_url":"https://api.github.com/users/wpxgit/repos","events_url":"https://api.github.com/users/wpxgit/events{/privacy}","received_events_url":"https://api.github.com/users/wpxgit/received_events","type":"User","site_admin":false},"created_at":"2017-07-25T13:27:48Z","updated_at":"2017-07-25T13:27:48Z","body":"Same problems on mac here / linux is no problem."}}
{"actor":{"display_login":"wpxgit"}}