Fine grained permission preview technology enabling in keycloak image

Hi Team,

I am able to enable fine grained permission in keycloak distribution but not able to enable it in keycloak image by passing -Dkeycloak.profile=preview .for all preview technology.


If you run Keycloak from docker-compose then you can use the option “command” in the docker-compose.yaml file. This works for me:
command: ["-Djboss.socket.binding.port-offset=100 -Dkeycloak.profile=preview -Dkeycloak.profile.feature.scripts=enabled -Dkeycloak.profile.feature.upload_scripts=enabled"]