title: Keycloak 17.0.0 docker image can't find suitable driver for postgres
body: <p>I am running docker desktop (windows) and building docker image for keycloak 17.0.0 following the instructions at <a href="https://www.keycloak.org/server/containers" rel="noreferrer">here</a>. Build completes successfully but when I run this image in desktop I get error</p>
  <blockquote>
  <p>ERROR [org.key.qua.run.cli.ExecutionExceptionHandler] (main) ERROR:
  Failed to obtain JDBC connection</p>
  <p>ERROR [org.key.qua.run.cli.ExecutionExceptionHandler] (main) ERROR: No
  suitable driver found for jdbc:postgresql://postgres/keycloak</p>
  </blockquote>
  <p>postgres is already running in docker desktop with the name &quot;postgres&quot; on default port 5432 and has keyclock database created.</p>
  <p>Here is my Dockerfile:</p>
  <pre><code>FROM quay.io/keycloak/keycloak-x:latest as builder
  
  ENV KC_METRICS_ENABLED=true
  ENV KC_FEATURES=token-exchange
  ENV KC_DB=postgres
  RUN /opt/keycloak/bin/kc.sh build
  
  FROM quay.io/keycloak/keycloak-x:latest
  COPY --from=builder /opt/keycloak/lib/quarkus/ /opt/keycloak/lib/quarkus/
  WORKDIR /opt/keycloak
  
  RUN keytool -genkeypair -storepass password -storetype PKCS12 -keyalg RSA -keysize 2048 -dname &quot;CN=server&quot; -alias server -ext &quot;SAN:c=DNS:localhost,IP:127.0.0.1&quot; -keystore conf/server.keystore
  
  ENV KEYCLOAK_ADMIN=admin
  ENV KEYCLOAK_ADMIN_PASSWORD=admin
  
  ENV KC_DB_URL='jdbc:postgresql://postgres/keycloak'
  ENV KC_DB_USERNAME=postgres
  ENV KC_DB_PASSWORD=postgres
  
  ENV KC_HOSTNAME=localhost:8443
  ENTRYPOINT [&quot;/opt/keycloak/bin/kc.sh&quot;, &quot;start&quot;]
  </code></pre>
  <p>My understanding from the docs is, after setting &quot;KC_DB=postgres&quot;, the build should have included postgres driver that appears to be missing.</p>
  <p>Can somebody tell me what is wrong here? Thanks.</p>