Hi there,
could you pls let me know how to publish management port 9990 of keycloak? with below am able to publish keycloak admin UI to outside but not sure how would we do with a management port.
docker run -p 8080:8080 jboss/keycloak
Hi there,
could you pls let me know how to publish management port 9990 of keycloak? with below am able to publish keycloak admin UI to outside but not sure how would we do with a management port.
docker run -p 8080:8080 jboss/keycloak
Port 9990 is not a Keycloak server, it is WildFly port.
You need to start administration on all interfaces (command line parameter -bmanagement 0.0.0.0) and then publish 9990 port (-p 9990:9990). So docker run command can looks like:
docker run --rm -ti \
-p 8080:8080 \
-p 9990:9990 \
jboss/keycloak:8.0.1 \
-b 0.0.0.0 -bmanagement 0.0.0.0
Thanks this works.Could you pls let me know the steps to create admin user and management user with in the docker, probably using add-user-keycloak.
Please read documentation first: https://hub.docker.com/r/jboss/keycloak/