With Docker

Running Keycloak with Docker. The official image is not in Docker Images website, but in this one bellow:

Keycloak Docker Image
Guides for integrations

Check more options running with containers here.

Initial configuration of Keycloak.

By default, the server is listening for http and https requests using the ports 8080 and 8443, respectively.

The Dabase used is not created/maintained by Keycloak, it must be created and informed to Keycloack.

Simple Dev Container

With a Docker Compose configuration:

Optimized Production Container

By default, when you use the start or start-dev command, Keycloak runs a build command under the covers for convenience reasons.

Check the Guides for more info on configuring for production environments.

Last updated