You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does this issue occur when you try this locally?: Yes
Does this issue occur when you try this locally and all extensions are disabled?: n/a
The issue here is that when there is something set for features in devcontainer.json before executing the docker run command to start up the container it does docker buildx build to add in the feature. The problem is that the build command does not have the --platform=linux/amd64 flag when building. Then when it does docker run to start up the container that flag is present. Since I'm running on an ARM Mac it is building for the linux/arm64 platform because there is no flag, and when it goes to run it tries to use the image that was built but it was for the wrong platform.
The text was updated successfully, but these errors were encountered:
Steps to Reproduce:
devcontainer.json
like:Does this issue occur when you try this locally?: Yes
Does this issue occur when you try this locally and all extensions are disabled?: n/a
The issue here is that when there is something set for
features
indevcontainer.json
before executing thedocker run
command to start up the container it doesdocker buildx build
to add in the feature. The problem is that the build command does not have the--platform=linux/amd64
flag when building. Then when it doesdocker run
to start up the container that flag is present. Since I'm running on an ARM Mac it is building for thelinux/arm64
platform because there is no flag, and when it goes to run it tries to use the image that was built but it was for the wrong platform.The text was updated successfully, but these errors were encountered: