title: How to fix the "unknown authentication response: 10" in postGIS database through using docker
body: <p>I tried to import an <code>.osm.pbf</code> file into a PostGIS database by using the <a href="https://hub.docker.com/r/kartoza/postgis/" rel="nofollow noreferrer">kartoza/postgis</a> dockerhub in windows. But I'm facing the error</p>
  <p><code>opening database: opening db: ping Postgres DB: pq: unknown authentication response: 10</code></p>
  <p>But the same credentials are working when I use the <code>docker exec</code> command:</p>
  <pre class="lang-sh prettyprint-override"><code>docker exec -it postgis psql postgres://docker:docker@&lt;IP&gt;/gis
  </code></pre>
  <p>Here is my <code>config.json</code> file and located in <code>app</code> directory</p>
  <pre class="lang-none prettyprint-override"><code>{
      &quot;cachedir&quot;: &quot;./imposm_cache&quot;,
      &quot;diffdir&quot;: &quot;./imposm_dif&quot;,
      &quot;connection&quot;: &quot;postgres://docker:docker@&lt;IP&gt;:5432/gis&quot;,
      &quot;mapping&quot;: &quot;app/mapping.yml&quot;,
      &quot;srid&quot;: 4326
  }
  </code></pre>
  <p>Here is my shell script to run</p>
  <pre class="lang-sh prettyprint-override"><code>imposm import -config app/config.json -read pbf-example/andorra-latest.osm.pbf -write -optimize
  </code></pre>
  <p>Please suggest to me how can I resolve this.</p>