docker exec -i -t resources_keycloak_1 /bin/bash
Use the provided keycloak function to export all realms and user configuration:
/opt/jboss/keycloak/bin/standalone.sh -Dkeycloak.migration.action=export -Dkeycloak.migration.provider=dir -Dkeycloak.migration.dir=/tmp/export -Djboss.socket.binding.port-offset=10
Move the configuration files from /resources/keycloak
to /docker/keycloak
Rebuild the container image using:
mvn install