Import file in 8.0.1

I’m using the import of a simple file in a base distribution of keycloak 8.0.1 downloaded in https://www.keycloak.org/downloads.html

Here the file:

{
   "realm": "my-domain" ,
   "enabled": true;
}

Starting keycloak through the command:

./standalone.sh -Dkeycloak.migration.action=import -Dkeycloak.migration.provider=singleFile -Dkeycloak.migration.file=${path}/$file-domain-realm.json -Dkeycloak.migration.strategy=OVERWRITE_EXISTING

I get a set of infinispan errors and the server shutdown. The same thing in old keycloak version is permitted.

I’m using JDK 13. What I miss?

See: KeyCloak startup configuration

I read it, but I don’t understand. So am I forced to use docker? Can’t I use a distribution directly?

It’s a working example (that uses the Keycloak Docker image)!

A key takeaway being that you can (only) ‘import’ from a previously exported file.