M1docker预览和keycloak“图像平台(linux/amd64)与检测到的主机平台(linux/arm64/v8)不匹配”问题
我刚刚下载了 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
回答
刚刚找到这个帖子:https :
//github.com/docker/for-mac/issues/5310#issuecomment-779791882
使用此图像,我现在可以启动 keycloak。
https://hub.docker.com/r/wizzn/keycloak
- I tried it. Works after setting docker experimental feature 'Use new virtualization framework' (Big Sur instead of hypervisor).
THE END
二维码