{"action":"closed","issue":{"url":"https://api.github.com/repos/docker/compose/issues/3984","repository_url":"https://api.github.com/repos/docker/compose","labels_url":"https://api.github.com/repos/docker/compose/issues/3984/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/3984/comments","events_url":"https://api.github.com/repos/docker/compose/issues/3984/events","html_url":"https://github.com/docker/compose/issues/3984","id":179306082,"number":3984,"title":"`docker-compose up` seems to hang every time on Windows","user":{"login":"PsychoThinker","id":17953552,"avatar_url":"https://avatars.githubusercontent.com/u/17953552?v=3","gravatar_id":"","url":"https://api.github.com/users/PsychoThinker","html_url":"https://github.com/PsychoThinker","followers_url":"https://api.github.com/users/PsychoThinker/followers","following_url":"https://api.github.com/users/PsychoThinker/following{/other_user}","gists_url":"https://api.github.com/users/PsychoThinker/gists{/gist_id}","starred_url":"https://api.github.com/users/PsychoThinker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PsychoThinker/subscriptions","organizations_url":"https://api.github.com/users/PsychoThinker/orgs","repos_url":"https://api.github.com/users/PsychoThinker/repos","events_url":"https://api.github.com/users/PsychoThinker/events{/privacy}","received_events_url":"https://api.github.com/users/PsychoThinker/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/compose/labels/duplicate","name":"duplicate","color":"cccccc"},{"url":"https://api.github.com/repos/docker/compose/labels/group/windows-client","name":"group/windows-client","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-26T18:42:52Z","updated_at":"2016-09-27T23:16:49Z","closed_at":"2016-09-27T23:16:49Z","body":"docker version\r\n\r\n```\r\nClient:\r\n Version:      1.12.1\r\n API version:  1.24\r\n Go version:   go1.6.3\r\n Git commit:   23cf638\r\n Built:        Thu Aug 18 17:52:38 2016\r\n OS/Arch:      windows/amd64\r\n\r\nServer:\r\n Version:      1.12.1\r\n API version:  1.24\r\n Go version:   go1.6.3\r\n Git commit:   23cf638\r\n Built:        Thu Aug 18 17:52:38 2016\r\n OS/Arch:      linux/amd64\r\n```\r\n\r\ndocker-compose.yml\r\n\r\n```\r\nversion: '2'\r\nservices:\r\n    hello:\r\n        image: tutum/hello-world\r\n        ports:\r\n            - \"80:80\"\r\n```\r\n\r\ndocker-compose --verbose up\r\n\r\n```\r\ncompose.config.config.find: Using configuration files: .\\docker-compose.yml\r\ndocker.auth.auth.load_config: Found 'credsStore' section\r\ncompose.cli.command.get_client: docker-compose version 1.8.0, build d988a55\r\ndocker-py version: 1.9.0\r\nCPython version: 2.7.11\r\nOpenSSL version: OpenSSL 1.0.2d 9 Jul 2015\r\ncompose.cli.command.get_client: Docker base_url: http://127.0.0.1:2375\r\ncompose.cli.command.get_client: Docker version: KernelVersion=4.4.20-moby, Os=linux, BuildTime=2016-08-18T17:52:38.255390991+00:00, ApiVersion=1.24, Version=1.12.1, GitCommit=23cf638, Arch=amd64, GoVersion=go1.6.3\r\ncompose.cli.verbose_proxy.proxy_callable: docker info <- ()\r\ncompose.cli.verbose_proxy.proxy_callable: docker info -> {u'Architecture': u'x86_64',\r\n u'BridgeNfIp6tables': True,\r\n u'BridgeNfIptables': True,\r\n u'CPUSet': True,\r\n u'CPUShares': True,\r\n u'CgroupDriver': u'cgroupfs',\r\n u'ClusterAdvertise': u'',\r\n u'ClusterStore': u'',\r\n u'Containers': 6,\r\n u'ContainersPaused': 0,\r\n...\r\ncompose.cli.verbose_proxy.proxy_callable: docker inspect_network <- (u'default_default')\r\ncompose.cli.verbose_proxy.proxy_callable: docker inspect_network -> {u'Containers': {},\r\n u'Driver': u'bridge',\r\n u'EnableIPv6': False,\r\n u'IPAM': {u'Config': [{u'Gateway': u'172.19.0.1/16',\r\n                        u'Subnet': u'172.19.0.0/16'}],\r\n           u'Driver': u'default',\r\n           u'Options': None},\r\n u'Id': u'8cfa51101b448d9b9c41774d41b77fdfc00aa56bdc3c5e40518c0e4b4b0946da',\r\n u'Internal': False,\r\n u'Labels': {},\r\n...\r\ncompose.cli.verbose_proxy.proxy_callable: docker containers <- (all=False, filters={u'label': [u'com.docker.compose.project=default', u'com.docker.compose.oneoff=False']})\r\ncompose.cli.verbose_proxy.proxy_callable: docker containers -> (list with 0 items)\r\ncompose.cli.verbose_proxy.proxy_callable: docker containers <- (all=True, filters={u'label': [u'com.docker.compose.project=default', u'com.docker.compose.service=hello', u'com.docker.compose.oneoff=False']})\r\ncompose.cli.verbose_proxy.proxy_callable: docker containers -> (list with 1 items)\r\ncompose.cli.verbose_proxy.proxy_callable: docker inspect_container <- (u'75883080f9e0664e87b61a95698c050257e681581b600b4b39c91fcde17c3e59')\r\ncompose.cli.verbose_proxy.proxy_callable: docker inspect_container -> {u'AppArmorProfile': u'',\r\n u'Args': [u'-c',\r\n           u'php-fpm -d variables_order=\"EGPCS\" && (tail -F /var/log/nginx/access.log &) && exec nginx -g \"daemon off;\"'],\r\n u'Config': {u'AttachStderr': False,\r\n             u'AttachStdin': False,\r\n             u'AttachStdout': False,\r\n             u'Cmd': [u'/bin/sh',\r\n                      u'-c',\r\n                      u'php-fpm -d variables_order=\"EGPCS\" && (tail -F /var/log/nginx/access.log &) && exec nginx -g \"daemon off;\"'],\r\n             u'Domainname': u'',\r\n...\r\ncompose.cli.verbose_proxy.proxy_callable: docker inspect_image <- ('tutum/hello-world')\r\ncompose.cli.verbose_proxy.proxy_callable: docker inspect_image -> {u'Architecture': u'amd64',\r\n u'Author': u'support@tutum.co',\r\n u'Comment': u'',\r\n u'Config': {u'AttachStderr': False,\r\n             u'AttachStdin': False,\r\n             u'AttachStdout': False,\r\n             u'Cmd': [u'/bin/sh',\r\n                      u'-c',\r\n                      u'php-fpm -d variables_order=\"EGPCS\" && (tail -F /var/log/nginx/access.log &) && exec nginx -g \"daemon off;\"'],\r\n             u'Domainname': u'',\r\n...\r\ncompose.cli.verbose_proxy.proxy_callable: docker containers <- (all=True, filters={u'label': [u'com.docker.compose.project=default', u'com.docker.compose.service=hello', u'com.docker.compose.oneoff=False']})\r\ncompose.cli.verbose_proxy.proxy_callable: docker containers -> (list with 1 items)\r\ncompose.cli.verbose_proxy.proxy_callable: docker inspect_image <- ('tutum/hello-world')\r\ncompose.cli.verbose_proxy.proxy_callable: docker inspect_image -> {u'Architecture': u'amd64',\r\n u'Author': u'support@tutum.co',\r\n u'Comment': u'',\r\n u'Config': {u'AttachStderr': False,\r\n             u'AttachStdin': False,\r\n             u'AttachStdout': False,\r\n             u'Cmd': [u'/bin/sh',\r\n                      u'-c',\r\n                      u'php-fpm -d variables_order=\"EGPCS\" && (tail -F /var/log/nginx/access.log &) && exec nginx -g \"daemon off;\"'],\r\n             u'Domainname': u'',\r\n...\r\ncompose.cli.verbose_proxy.proxy_callable: docker inspect_container <- (u'75883080f9e0664e87b61a95698c050257e681581b600b4b39c91fcde17c3e59')\r\ncompose.cli.verbose_proxy.proxy_callable: docker inspect_container -> {u'AppArmorProfile': u'',\r\n u'Args': [u'-c',\r\n           u'php-fpm -d variables_order=\"EGPCS\" && (tail -F /var/log/nginx/access.log &) && exec nginx -g \"daemon off;\"'],\r\n u'Config': {u'AttachStderr': False,\r\n             u'AttachStdin': False,\r\n             u'AttachStdout': False,\r\n             u'Cmd': [u'/bin/sh',\r\n                      u'-c',\r\n                      u'php-fpm -d variables_order=\"EGPCS\" && (tail -F /var/log/nginx/access.log &) && exec nginx -g \"daemon off;\"'],\r\n             u'Domainname': u'',\r\n...\r\ncompose.parallel.feed_queue: Pending: set([<Service: hello>])\r\ncompose.parallel.feed_queue: Starting producer thread for <Service: hello>\r\ncompose.service.start_container_if_stopped: Starting default_hello_1\r\ncompose.cli.verbose_proxy.proxy_callable: docker attach <- (u'75883080f9e0664e87b61a95698c050257e681581b600b4b39c91fcde17c3e59', stream=True, stderr=True, stdout=True)\r\ncompose.parallel.feed_queue: Pending: set([])\r\ncompose.parallel.feed_queue: Pending: set([])\r\ncompose.parallel.feed_queue: Pending: set([])\r\ncompose.parallel.feed_queue: Pending: set([])\r\ncompose.parallel.feed_queue: Pending: set([])\r\ncompose.parallel.feed_queue: Pending: set([])\r\ncompose.parallel.feed_queue: Pending: set([])\r\ncompose.parallel.feed_queue: Pending: set([])\r\ncompose.parallel.feed_queue: Pending: set([])\r\n..\r\ncompose.parallel.feed_queue: Pending: set([])\r\ncompose.parallel.feed_queue: Pending: set([])\r\ncompose.parallel.feed_queue: Pending: set([])\r\ncompose.parallel.feed_queue: Pending: set([])\r\ncompose.parallel.feed_queue: Pending: set([])\r\ncompose.parallel.parallel_execute_iter: Failed: <Service: hello>\r\ncompose.parallel.feed_queue: Pending: set([])\r\n\r\nERROR: for hello  HTTPConnectionPool(host='127.0.0.1', port=2375): Read timed out. (read timeout=60)\r\nTraceback (most recent call last):\r\n  File \"<string>\", line 3, in <module>\r\n  File \"compose\\cli\\main.py\", line 61, in main\r\n  File \"compose\\cli\\main.py\", line 113, in perform_command\r\n  File \"contextlib.py\", line 35, in __exit__\r\n  File \"compose\\cli\\errors.py\", line 56, in handle_connection_errors\r\nTypeError: log_timeout_error() takes exactly 1 argument (0 given)\r\ndocker-compose returned -1\r\n```\r\n\r\nI can invoke the same command on OSX without any problems (logs on the console appear immediately), also adding \"-d\" option on windows machine fixes the issue, but without it  i have \"Read timed out.\" every time :("}}
{"actor":{"display_login":"shin-"}}