Most basic steps for a functioning keycloak container?

Morning all,
Just trying to try this out and would like a noobs guide to setting up a docker container with minimal configuration for a minimal test. Following the documentation doesn’t seem to work container fails to start

docker run -e KEYCLOAK_USER=<USERNAME> -e KEYCLOAK_PASSWORD=<PASSWORD> jboss/keycloak -p 8080:8080

so was hoping their was someone who could assist with the correct config for the absolute minimal so I can test then expand once I know the tool better.
Cheers
Tom.

You have wrong command composition. See docker run manual. Correct one:

docker run \
  -e KEYCLOAK_USER=<USERNAME> \
  -e KEYCLOAK_PASSWORD=<PASSWORD> \
  -p 8080:8080 \
  jboss/keycloak 

+ you will be better if you expose port 8443 (https protocol):

docker run \
  -e KEYCLOAK_USER=<USERNAME> \
  -e KEYCLOAK_PASSWORD=<PASSWORD> \
  -p 8443:8443 \
  jboss/keycloak 

That doesn’t work for me either. I’ve seen that same line everywhere but all I get is

/opt/jboss/tools/docker-entrypoint.sh: line 47: KEYCLOAK_FRONTEND_URL: unbound variable

Yeah, the latest 8.0.0 image seems to be broken. Use jboss/keycloak:7.0.1:

docker run \
  -e KEYCLOAK_USER=<USERNAME> \
  -e KEYCLOAK_PASSWORD=<PASSWORD> \
  -p 8443:8443 \
  jboss/keycloak:7.0.1