Enable Preview Features in Docker container?

I’d like to enable ACCOUNT2, ACCOUNT_API in 11.0.3, and I’m using the docker image. Is there a way to enable those features?

Try to add JAVA_OPTS or JAVA_OPTS_APPEND env variable:

JAVA_OPTS: "-Dkeycloak.profile.feature.account2=enabled -Dkeycloak.profile.feature.account_api=enabled"

Doc: Docker Hub

1 Like