Replies: 2 comments 2 replies
-
Answering my own question I guess... simply stopping the container will do the trick:
... then use docker cp (before exiting the container :)) to retrieve the exported files. |
Beta Was this translation helpful? Give feedback.
2 replies
-
@franck102 Thanks, I'll consider supporting such an export as it is not the first user request, it should work well with DevServices for Keycloak on its own as well. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
First of all congratulations for the outstanding documentation around OIDC support in Quarkus!
I am using OIDC Dev Services and one issue I have is that my entire Keycloak configuration (public realm, users with specific roles...) is lost every time I restart quarkus:dev.
I have been able to partially export the configuration from the admin console, however exporting everything including users requires running kc.sh export from the container.
I have tried to do that using the -Djboss.socket.binding.port-offset mentioned elsewhere to avoid the port conflict with the running Keycloak, but this doesn't seem to work in the quay.io container, I am still getting a
io.quarkus.runtime.QuarkusBindException
and the export fails.I can start the container manually with the docker label expected by Dev Services.. but I eventually run into the same issue when the container is eventually stopped: does anyone have a good suggestion to successfully export the whole configuration from that Keycloak container?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions