23
30

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Docker で始める Keycloak

Last updated at Posted at 2017-09-13

と言っても、Docker Hub に Keycloak のイメージが既にあるので、以下のコマンドを実行するだけ。
https://hub.docker.com/r/jboss/keycloak/

$ docker run -d -p 18080:8080 \
             -e KEYCLOAK_USER=admin \
             -e KEYCLOAK_PASSWORD=admin \
             --name keycloak \
             jboss/keycloak

これで、ブラウザから以下の URL にアクセスして、初期ユーザ admin パスワード admin でコンソールにログインできる。
http://localhost:18080/auth/admin/

Keycloak を終了するには、以下のコマンド。

$ docker stop keycloak

再度同じイメージを起動するには、以下のコマンド。

$ docker start keycloak
23
30
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
23
30

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?