December 2019
Intermediate to advanced
314 pages
6h 51m
English
In this section, we will be using Docker to quickly take the reins of Keycloak. First, we need to pull the Keycloak image and start a container instance. The following command will start the Keycloak Server in the background and choose 8180 as the HTTP port and expose the host and port locally:
docker run --rm \ --name keycloak \ -e KEYCLOAK_USER=admin \ -e KEYCLOAK_PASSWORD=admin \ -p 8180:8180 \ -it quay.io/keycloak/keycloak:7.0.1 \ -b 0.0.0.0 \
-Djboss.http.port=8180 \ -Dkeycloak.profile.feature.upload_scripts=enabled
In the console, you should see that the server has managed to start successfully:
10:33:15,519 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management ...
Read now
Unlock full access