Skip to content

Commit

Permalink
Add tip for running Keycloak on an IPv6 enabled Docker host. (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
ximon18 committed Feb 22, 2023
1 parent 4976626 commit 1009c26
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/multi-user/openid-connect-provider.rst
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,12 @@ Download and run Keycloak
database which is convenient for demonstration and
testing purposes but should not be used in a production
setting.

.. note:: If IPv6 is enabled for Docker then Keycloak may fail to
start with error ``failed to resolve interface private``.
One way to work around this problem is to append the
following to the ``docker run`` command:
``-Djboss.bind.address.private=127.0.0.1 -Djboss.bind.address=0.0.0.0``

Follow the logs until Keycloak is ready:

Expand Down

0 comments on commit 1009c26

Please sign in to comment.