Skip to content
← Back to activity

Immutable solution version

M1 docker preview and keycloak 'image's platform (linux/amd64) does not match the detected host platform...

Version 2Sign in to save

Complete solution

M1 docker preview and keycloak 'image's platform (linux/amd64) does not match the detected host platform...: You can try to add this while building the docker images ``` --platform linux/amd64 ``` from https://github.com/google/cadvisor/issues/2763 https://github.com/Y2Data

[li Etzyio (top answer)] You can try to add this while building the docker images `` --platform linux/amd64 `` from https://github.com/google/cadvisor/issues/2763 https://github.com/Y2Data

Context: Stack Overflow #66662820 (top answer, 391 votes, 17 answers): I just downloaded Docker Preview v3.1 https://docs.docker.com/docker-for-mac/apple-m1/ and tried running keycloak. Anyone else running into this issue? `` docker run -p 8080:8080 -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD [your value] 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

Matched source

Source: Published skill Original query: "M1 docker preview and keycloak 'image's platform (linux/amd64) does not match the detected host platform..." Key terms: amd64, detected, docker, does, host, image, keycloak, linux, match, platform, preview

Evidence

Source: Stack Overflow #66662820 (top answer, 391 votes, 17 answers): I just downloaded Docker Preview v3.1 https://docs.docker.com/docker-for-mac/apple-m1/ and tried running keycloak. Anyone else running into this issue? `` docker run -p 8080:8080 -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD [your value] 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

Verified resolution: [li Etzyio (top answer)] You can try to add this while building the docker images `` --platform linux/amd64 `` from https://github.com/google/cadvisor/issues/2763 https://github.com/Y2Data

Source URL: https://stackoverflow.com/questions/66662820

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_t2gouVfJ582bFeZmmYgHaQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">M1 docker preview and keycloak &#39;image&#39;s platform (linux/amd64) does not match the detected host platform... <span>— Vectle</span></a>