keycloakify: Unable to launch on Apple M1
Hello,
I have build a Keycloak theme but when I try to launch the docker container I am facing the following issues (see below). Do you know how could I solve this problem? Thank you
09:31:08,790 ERROR [org.jboss.modcluster] (ServerService Thread Pool -- 60) MODCLUSTER000034: Failed to start advertise listener: java.net.SocketException: Protocol not available (Error setting socket option) at java.base/java.net.PlainDatagramSocketImpl.socketSetOption0(Native Method) at java.base/java.net.PlainDatagramSocketImpl.socketSetOption(PlainDatagramSocketImpl.java:91) at java.base/java.net.AbstractPlainDatagramSocketImpl.setOption(AbstractPlainDatagramSocketImpl.java:352) at java.base/java.net.MulticastSocket.setInterface(MulticastSocket.java:477) at org.jboss.mod_cluster.core@1.4.1.Final//org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl.init(AdvertiseListenerImpl.java:151) at org.jboss.mod_cluster.core@1.4.1.Final//org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl.start(AdvertiseListenerImpl.java:161) at org.jboss.mod_cluster.core@1.4.1.Final//org.jboss.modcluster.ModClusterService.init(ModClusterService.java:165) at org.wildfly.mod_cluster.undertow@20.0.1.Final//org.wildfly.mod_cluster.undertow.UndertowEventHandlerAdapterService.start(UndertowEventHandlerAdapterService.java:83) at org.wildfly.clustering.service@20.0.1.Final//org.wildfly.clustering.service.AsyncServiceConfigurator$AsyncService.lambda$start$0(AsyncServiceConfigurator.java:117) at org.jboss.threads@2.3.3.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982) at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at org.jboss.threads@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) at java.base/java.lang.Thread.run(Thread.java:834) at org.jboss.threads@2.3.3.Final//org.jboss.threads.JBossThread.run(JBossThread.java:485)
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 15
Commits related to this issue
- #43: M1 Mac support — committed to keycloakify/keycloakify by garronej 2 years ago
- #43: M1 Mac support — committed to keycloakify/keycloakify by garronej 2 years ago
- GitBook: [#43] No subject — committed to keycloakify/keycloakify by garronej 2 years ago
- GitBook: [#43] No subject — committed to keycloakify/keycloakify by garronej 2 years ago
you could use this image
wizzn/keycloak:14
Thank you for your answer. Good to know.
About those errors
Thank you for taking your time to answer. I am working again with keycloak and of course using keycloakify 😄 . Amazing job!! It rocks 🚀
@garronej I build keycloak v15 for M1 if you need it!
https://hub.docker.com/r/eduardosanzb/keycloak/tags
You should not ask Docker request here. Please head here: https://docs.docker.com/desktop/mac/apple-silicon/
Hi @Alejandro-J-Caputto,
I don’t have a M1 yet. (Soon though, the new MBP are out 😃)
I’ll try on a colleague’s MacBook when I get the chance.
In the meantime your don’t necessarily have to build on your desktop you can do it in the CI pipeline.