{"action":"created","issue":{"url":"https://api.github.com/repos/docker/compose/issues/3072","repository_url":"https://api.github.com/repos/docker/compose","labels_url":"https://api.github.com/repos/docker/compose/issues/3072/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/3072/comments","events_url":"https://api.github.com/repos/docker/compose/issues/3072/events","html_url":"https://github.com/docker/compose/issues/3072","id":138189058,"number":3072,"title":"Version 2 of the docker-compose.yml cause slowdowns in the reverse lookup","user":{"login":"Lughino","id":3275254,"avatar_url":"https://avatars.githubusercontent.com/u/3275254?v=3","gravatar_id":"","url":"https://api.github.com/users/Lughino","html_url":"https://github.com/Lughino","followers_url":"https://api.github.com/users/Lughino/followers","following_url":"https://api.github.com/users/Lughino/following{/other_user}","gists_url":"https://api.github.com/users/Lughino/gists{/gist_id}","starred_url":"https://api.github.com/users/Lughino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lughino/subscriptions","organizations_url":"https://api.github.com/users/Lughino/orgs","repos_url":"https://api.github.com/users/Lughino/repos","events_url":"https://api.github.com/users/Lughino/events{/privacy}","received_events_url":"https://api.github.com/users/Lughino/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/compose/labels/area/networking","name":"area/networking","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-03T14:14:36Z","updated_at":"2016-03-14T18:23:20Z","closed_at":null,"body":"I'm on a OSX machine and I'm having a resolution of slowdowns problems hostname of the linked containers.\r\n\r\nIf you use the IP address connects immediately.\r\nMy specific case is this:\r\n```yml\r\nversion: '2'\r\n\r\nservices:\r\n  web:\r\n    build: ./app\r\n    volumes:\r\n      - \"./app:/src/app\"\r\n    ports:\r\n      - \"80:3000\"\r\n    links:\r\n      - \"db:mongodb\"\r\n    command: nodemon -L app/bin/www\r\n\r\n  db:\r\n    image: mongo\r\n    command:\r\n      - --smallfiles\r\n    ports:\r\n      - \"27017:27017\"\r\n```\r\n\r\nWhen the client connects from the web container to the mongodb container (`mongodb://mongodb:27017/dockertest`) takes exactly 30 seconds.\r\n\r\nIf I remove the version 2 is connected immediately to the mongodb containers with the same settings."},"comment":{"url":"https://api.github.com/repos/docker/compose/issues/comments/196454502","html_url":"https://github.com/docker/compose/issues/3072#issuecomment-196454502","issue_url":"https://api.github.com/repos/docker/compose/issues/3072","id":196454502,"user":{"login":"mavenugo","id":5056191,"avatar_url":"https://avatars.githubusercontent.com/u/5056191?v=3","gravatar_id":"","url":"https://api.github.com/users/mavenugo","html_url":"https://github.com/mavenugo","followers_url":"https://api.github.com/users/mavenugo/followers","following_url":"https://api.github.com/users/mavenugo/following{/other_user}","gists_url":"https://api.github.com/users/mavenugo/gists{/gist_id}","starred_url":"https://api.github.com/users/mavenugo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mavenugo/subscriptions","organizations_url":"https://api.github.com/users/mavenugo/orgs","repos_url":"https://api.github.com/users/mavenugo/repos","events_url":"https://api.github.com/users/mavenugo/events{/privacy}","received_events_url":"https://api.github.com/users/mavenugo/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T18:23:20Z","updated_at":"2016-03-14T18:23:20Z","body":"I think @sanimej is aware of the issue. "}}