When you have mapped the ports using the -p 5432:5432 switch, you will be able to connect to postgres with any tool from your dev machine using ... ... <看更多>
psql : could not connect to server: Connection refused Is the server running on host "172.17.0.1" and accepting TCP/IP connections on port 5432? ... <看更多>