title: pgadmin error while connecting to docker postgres instance: "The server encountered an internal error and was unable to complete your request."
body: <p>I'm running a postgres image from a docker container. While trying to access it from the pgadmin 4 GUI client, I'm getting the error: "The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application."</p>
  
  <p>After connecting to the docker instance, the pgadmin GUI displays the default <code>postgres</code> database, but there is a cross on the other databases which I had created from within the container.</p>
  
  <p>After refreshing connection multiple times I get a message along the lines of connection made to database, but it doesn't actually load in the GUI.</p>
  
  <p>How do I connect to those databases?</p>
  
  <p>(I'm running docker in Windows 10 powershell with admin privileges)</p>