我正面临问题,通过在我的 M1 Mac 的 Docker 容器中安装 Keycloack
我使用此代码安装 Keycloack
docker run -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin -p 8080:8080 jboss/keycloak
我将这个称为此代码的代码粘贴到我的终端中。粘贴此代码后,我收到这些问题或错误。
08:32:06,727 ERROR [org.jboss.modcluster] (ServerService Thread Pool -- 58) MODCLUSTER000034: Failed to start advertise listener: java.net.SocketException: Protocol not available (Error setting socket option)
08:32:12,771 ERROR [org.jgroups.protocols.UDP] (ServerService Thread Pool -- 58) failed setting interface to /172.17.0.2: java.net.SocketException: Protocol not available (Error setting socket option)
08:32:12,775 ERROR [org.jgroups.protocols.UDP] (ServerService Thread Pool -- 58) failed setting interface to /172.17.0.2: java.net.SocketException: Protocol not available (Error setting socket option)
08:32:12,780 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 58) MSC000001: Failed to start service org.wildfly.clustering.jgroups.channel.ee: org.jboss.msc.service.StartException in service org.wildfly.clustering.jgroups.channel.ee: java.lang.IllegalStateException: java.net.SocketException: Protocol not available
08:32:13,179 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "jgroups"),
("channel" => "ee")
]) - failure description: {"WFLYCTL0080: Failed services" => {"org.wildfly.clustering.jgroups.channel.ee" => "java.lang.IllegalStateException: java.net.SocketException: Protocol not available
Caused by: java.lang.IllegalStateException: java.net.SocketException: Protocol not available
Caused by: java.net.SocketException: Protocol not available"}}
08:32:13,225 INFO [org.jboss.as.server] (ServerService Thread Pool -- 46) WFLYSRV0010: Deployed "keycloak-server.war" (runtime-name : "keycloak-server.war")
08:32:13,233 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
WFLYCTL0186: Services which failed to start: service org.wildfly.clustering.jgroups.channel.ee: java.lang.IllegalStateException: java.net.SocketException: Protocol not available
WFLYCTL0448: 42 additional services are down due to their dependencies being missing or failed
08:32:13,491 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
08:32:13,506 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: Keycloak 15.0.2 (WildFly Core 15.0.1.Final) started (with errors) in 24942ms - Started 497 of 930 services (48 services failed or missing dependencies, 683 services are lazy, passive or on-demand)
08:32:13,514 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
08:32:13,514 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990