{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/14396","labels_url":"https://api.github.com/repos/docker/docker/issues/14396/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/14396/comments","events_url":"https://api.github.com/repos/docker/docker/issues/14396/events","html_url":"https://github.com/docker/docker/issues/14396","id":93111414,"number":14396,"title":"Unable to link to postgres container with docker-engine 1.7.0 on Fedora 22","user":{"login":"pauljeff","id":8299600,"avatar_url":"https://avatars.githubusercontent.com/u/8299600?v=3","gravatar_id":"","url":"https://api.github.com/users/pauljeff","html_url":"https://github.com/pauljeff","followers_url":"https://api.github.com/users/pauljeff/followers","following_url":"https://api.github.com/users/pauljeff/following{/other_user}","gists_url":"https://api.github.com/users/pauljeff/gists{/gist_id}","starred_url":"https://api.github.com/users/pauljeff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pauljeff/subscriptions","organizations_url":"https://api.github.com/users/pauljeff/orgs","repos_url":"https://api.github.com/users/pauljeff/repos","events_url":"https://api.github.com/users/pauljeff/events{/privacy}","received_events_url":"https://api.github.com/users/pauljeff/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/group/networking","name":"group/networking","color":"D6EBFF"},{"url":"https://api.github.com/repos/docker/docker/labels/kind/regression","name":"kind/regression","color":"DE6262"},{"url":"https://api.github.com/repos/docker/docker/labels/os/linux/fedora","name":"os/linux/fedora","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/docker/docker/milestones/39","html_url":"https://github.com/docker/docker/milestones/1.8.0","labels_url":"https://api.github.com/repos/docker/docker/milestones/39/labels","id":1151952,"number":39,"title":"1.8.0","description":"","creator":{"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},"open_issues":5,"closed_issues":46,"state":"open","created_at":"2015-06-05T19:27:06Z","updated_at":"2015-07-24T18:35:36Z","due_on":"2015-08-09T22:00:00Z","closed_at":null},"comments":56,"created_at":"2015-07-05T13:33:21Z","updated_at":"2015-07-24T19:07:53Z","closed_at":null,"body":"#### Description of problem:\r\nI am using the recommended Fedora 22 docker-engine (docker-engine-1.7.0-1.fc22.x86_64.rpm) from the [Fedora installation page](http://docs.docker.com/installation/fedora/).\r\n\r\nFollowing the instructions on the [Dockerizing Postgresql](http://docs.docker.com/examples/postgresql_service/) and [Linking Containers](https://docs.docker.com/userguide/dockerlinks/#communication-across-links) docs pages I am unable to connect to a postgres container from the simple bash container via the psql command. I received the error:\r\n\r\n```\r\npsql: could not connect to server: No route to host\r\n        Is the server running on host \"172.17.0.8\" and accepting\r\n        TCP/IP connections on port 5432?\r\n```\r\n\r\n#### docker version\r\n```\r\nClient version: 1.7.0\r\nClient API version: 1.19\r\nGo version (client): go1.4.2\r\nGit commit (client): 0baf609\r\nOS/Arch (client): linux/amd64\r\nServer version: 1.7.0\r\nServer API version: 1.19\r\nGo version (server): go1.4.2\r\nGit commit (server): 0baf609\r\nOS/Arch (server): linux/amd64\r\n```\r\n\r\n#### docker info\r\n```\r\nContainers: 1\r\nImages: 16\r\nStorage Driver: devicemapper\r\n Pool Name: docker-253:1-1319522-pool\r\n Pool Blocksize: 65.54 kB\r\n Backing Filesystem: extfs\r\n Data file: /dev/loop0\r\n Metadata file: /dev/loop1\r\n Data Space Used: 744.9 MB\r\n Data Space Total: 107.4 GB\r\n Data Space Available: 46.61 GB\r\n Metadata Space Used: 1.458 MB\r\n Metadata Space Total: 2.147 GB\r\n Metadata Space Available: 2.146 GB\r\n Udev Sync Supported: true\r\n Deferred Removal Enabled: false\r\n Data loop file: /var/lib/docker/devicemapper/devicemapper/data\r\n Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata\r\n Library Version: 1.02.93 (2015-01-30)\r\nExecution Driver: native-0.2\r\nLogging Driver: json-file\r\nKernel Version: 4.0.6-300.fc22.x86_64\r\nOperating System: Fedora 22 (Twenty Two)\r\nCPUs: 4\r\nTotal Memory: 7.687 GiB\r\nName: *****\r\nID: NNLY:SH32:E4NY:4YV3:BQEJ:S5MV:QVOD:BQXZ:ED6T:H37F:4T5N:KABU\r\n```\r\n\r\n#### uname -a\r\n```\r\nLinux ***** 4.0.6-300.fc22.x86_64 #1 SMP Tue Jun 23 13:58:53 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux\r\n```\r\n\r\n#### Environment details\r\nPhysical machine, Lenovo Thinkpad X220\r\n\r\n#### How reproducible\r\nEvery time\r\n\r\n#### Steps to Reproduce\r\n1. Install docker-engine 1.7.0 as per the instructions for [Fedora 22 on installation page](http://docs.docker.com/installation/fedora/)\r\n2. Follow the instructions on the [Dockerizing PostgreSQL page](http://docs.docker.com/examples/postgresql_service/)\r\n\r\n#### Actual Results\r\nUnable to connect to postgres container:\r\n```\r\npsql: could not connect to server: No route to host\r\n        Is the server running on host \"172.17.0.8\" and accepting\r\n        TCP/IP connections on port 5432?\r\n```\r\n\r\n#### Expected Results\r\nShould connect to the postgres container and display the psql prompt.\r\n\r\n#### Additional info\r\nTested on Mac OSX (Yosemite) with boot2docker 1.7.0 and Fedora 22 docker 1.6.0 from the fedora repo (installed using `sudo dnf install docker`) and in both cases it works fine."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/124641926","html_url":"https://github.com/docker/docker/issues/14396#issuecomment-124641926","issue_url":"https://api.github.com/repos/docker/docker/issues/14396","id":124641926,"user":{"login":"rhatdan","id":2000835,"avatar_url":"https://avatars.githubusercontent.com/u/2000835?v=3","gravatar_id":"","url":"https://api.github.com/users/rhatdan","html_url":"https://github.com/rhatdan","followers_url":"https://api.github.com/users/rhatdan/followers","following_url":"https://api.github.com/users/rhatdan/following{/other_user}","gists_url":"https://api.github.com/users/rhatdan/gists{/gist_id}","starred_url":"https://api.github.com/users/rhatdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhatdan/subscriptions","organizations_url":"https://api.github.com/users/rhatdan/orgs","repos_url":"https://api.github.com/users/rhatdan/repos","events_url":"https://api.github.com/users/rhatdan/events{/privacy}","received_events_url":"https://api.github.com/users/rhatdan/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T19:07:53Z","updated_at":"2015-07-24T19:07:53Z","body":"Nice.  Get it into docker-1.8"}}