{"action":"created","issue":{"url":"https://api.github.com/repos/docker/compose/issues/3419","repository_url":"https://api.github.com/repos/docker/compose","labels_url":"https://api.github.com/repos/docker/compose/issues/3419/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/3419/comments","events_url":"https://api.github.com/repos/docker/compose/issues/3419/events","html_url":"https://github.com/docker/compose/issues/3419","id":153127908,"number":3419,"title":"docker-compose slow on docker for mac os beta","user":{"login":"Erwyn","id":206743,"avatar_url":"https://avatars.githubusercontent.com/u/206743?v=3","gravatar_id":"","url":"https://api.github.com/users/Erwyn","html_url":"https://github.com/Erwyn","followers_url":"https://api.github.com/users/Erwyn/followers","following_url":"https://api.github.com/users/Erwyn/following{/other_user}","gists_url":"https://api.github.com/users/Erwyn/gists{/gist_id}","starred_url":"https://api.github.com/users/Erwyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Erwyn/subscriptions","organizations_url":"https://api.github.com/users/Erwyn/orgs","repos_url":"https://api.github.com/users/Erwyn/repos","events_url":"https://api.github.com/users/Erwyn/events{/privacy}","received_events_url":"https://api.github.com/users/Erwyn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":47,"created_at":"2016-05-04T22:18:07Z","updated_at":"2016-10-07T06:42:15Z","closed_at":null,"body":"docker-compose is slow with docker for mac os beta on my home network. Here is my workaround for now:\r\n\r\n* docker-compose up (take ages)\r\n* shut down wifi\r\n* docker-compose up (really fast)\r\n* re-enable wifi\r\n\r\nI do not reproduce the issue on another network than mine, my work network for instance do not make it slow. I already had a potentially related issue with the docker client itself which couldn't pull any image (going to bizarre local ips instead of the docker hub registry) but it has been fixed since one of the latest docker for mac os beta update.\r\n\r\nThe issue is not reproduced against the docker-toolbox, only the \"native\" docker for mac.\r\n\r\nMy version of docker-compose is : `docker-compose version 1.7.0, build 0d7bf73`\r\nMy version of docker for mac is: `Version 1.11.1-beta10 (build: 6662)`\r\n\r\nThe docker-compose file I'm trying to run is:\r\n\r\n```\r\n#docker-compose.yml\r\nsync-engine:\r\n  build: nylas-sync-engine\r\n  ports:\r\n    - 5555:5555\r\n  links:\r\n    - mysql:mysql\r\n    - redis:redis\r\n  hostname: sync-engine\r\n  log_opt:\r\n    max-size: \"10m\"\r\n    max-file: \"10\"\r\n\r\nmysql:\r\n  image: mysql\r\n  environment:\r\n    - MYSQL_ROOT_PASSWORD=whateverpassword\r\n  volumes:\r\n    - nylas_mysql:/var/lib/mysql\r\n  log_opt:\r\n    max-size: \"10m\"\r\n    max-file: \"10\"\r\n\r\nredis:\r\n  image: redis\r\n  volumes:\r\n    - nylas_redis:/data\r\n  log_opt:\r\n    max-size: \"10m\"\r\n    max-file: \"10\"\r\n```"},"comment":{"url":"https://api.github.com/repos/docker/compose/issues/comments/252165145","html_url":"https://github.com/docker/compose/issues/3419#issuecomment-252165145","issue_url":"https://api.github.com/repos/docker/compose/issues/3419","id":252165145,"user":{"login":"adulescentulus","id":10852221,"avatar_url":"https://avatars.githubusercontent.com/u/10852221?v=3","gravatar_id":"","url":"https://api.github.com/users/adulescentulus","html_url":"https://github.com/adulescentulus","followers_url":"https://api.github.com/users/adulescentulus/followers","following_url":"https://api.github.com/users/adulescentulus/following{/other_user}","gists_url":"https://api.github.com/users/adulescentulus/gists{/gist_id}","starred_url":"https://api.github.com/users/adulescentulus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adulescentulus/subscriptions","organizations_url":"https://api.github.com/users/adulescentulus/orgs","repos_url":"https://api.github.com/users/adulescentulus/repos","events_url":"https://api.github.com/users/adulescentulus/events{/privacy}","received_events_url":"https://api.github.com/users/adulescentulus/received_events","type":"User","site_admin":false},"created_at":"2016-10-07T06:42:15Z","updated_at":"2016-10-07T06:42:15Z","body":"I do not really know if this is the same problem, but the reply of @jibingeo helped me.\r\n_docker-compose_ is also very slow in my company environment using Docker Toolbox for Windows. Configuring ```NO_PROXY=*``` helped me too but this interferes with my company proxy. So I tried a little bit and I found a more specific solution (assuming you are using the default docker VirtualBox ip range 192.168.99.0/24):\r\n\r\n```NO_PROXY=192.168.99.0/24``` speeds up everything, so compose doesn't need to try my company proxy for internal IPs."}}
{"actor":{"display_login":"adulescentulus"}}