devcontainer icon indicating copy to clipboard operation
devcontainer copied to clipboard

no matching manifest for linux/arm64/v8 in the manifest list entries

Open trivikr opened this issue 1 year ago • 4 comments
trafficstars

The following error is thrown when attempting to run docker pull on M1 MBP

$> docker pull nodejs/devcontainer:nightly
nightly: Pulling from nodejs/devcontainer
...
no matching manifest for linux/arm64/v8 in the manifest list entries

trivikr avatar Aug 17 '24 05:08 trivikr

This likely happens since image is not available for ARM64 architecture. A workaround is to add --platform linux/amd64 to pull an Intel image under emulation.

trivikr avatar Aug 17 '24 05:08 trivikr

https://github.com/nodejs/node/pull/54757 This PR might help with this

@trivikr

bharath063 avatar Sep 04 '24 09:09 bharath063

I can try to fix this soon! Please feel free to create a PR to fix if someone else finds a soluton.

bnb avatar Sep 05 '24 17:09 bnb

Is this still being worked on?

Alternatively, you might want to retire this repo and direct people to mcr.microsoft.com/devcontainers/javascript-node:1-22-bookworm for example.

sdavids avatar Feb 20 '25 23:02 sdavids

I tried to fix it in https://github.com/nodejs/devcontainer/pull/13 but it seems building arm64 in emulation made the build take a very long time and exceeds the 6h limit. Now I can try to extend the build time limit to 24h (that seems to be maximum) and see if that works. But I wonder if there's a way to split them into different actions so that we can build arm64 images on arm64 runners without emulation..

joyeecheung avatar Oct 16 '25 13:10 joyeecheung

Alternatively, you might want to retire this repo and direct people to mcr.microsoft.com/devcontainers/javascript-node:1-22-bookworm for example.

That is different from what this repo does, this repo maps to local clones of Node.js for developing Node.js per-se, not for developing an app that runs on Node.js - at least, not for stable Node.js, at most for testing it against nightly Node.js

joyeecheung avatar Oct 16 '25 13:10 joyeecheung

I think this should make it work: https://github.com/nodejs/devcontainer/pull/14

joyeecheung avatar Oct 17 '25 15:10 joyeecheung

This should be fixed by https://github.com/nodejs/devcontainer/pull/14 now.

joyeecheung avatar Oct 24 '25 15:10 joyeecheung