我刚刚下载了 Docker Preview v3.1 https://docs.docker.com/docker-for-mac/apple-m1/ 并尝试运行 keycloak。
还有其他人遇到这个问题吗?
docker run -p 8080:8080 -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=admin quay.io/keycloak/keycloak:12.0.4
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
答案 0 :(得分:6)
刚刚找到这个帖子: https://github.com/docker/for-mac/issues/5310#issuecomment-779791882
使用此图像,我现在可以启动 keycloak。 https://hub.docker.com/r/wizzn/keycloak
答案 1 :(得分:0)