Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on Raspberry Pi 4 Ubuntu Desktop 21.04 arm64 #28

Closed
rafrafek opened this issue Jun 1, 2021 · 1 comment
Closed

Error on Raspberry Pi 4 Ubuntu Desktop 21.04 arm64 #28

rafrafek opened this issue Jun 1, 2021 · 1 comment

Comments

@rafrafek
Copy link

rafrafek commented Jun 1, 2021

Template does not work on my Raspberry Pi 4 8GB on Ubuntu Desktop 21.04 arm64.
Both VS Code and Docker run on the same Raspberry. I'm using Remote - Containers extension.
There is info on line 3362:

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

Full log from VS Code attached:
remoteContainers-2021-06-01T16-24-26.100Z.log

@Chuxel
Copy link
Member

Chuxel commented Jun 1, 2021

This is due to the image only being available for x86. See microsoft/vscode-dev-containers#558

You can build from scratch instead of using the image by copying the contents of .devcontainer from here and updating devcontainer.json to reference base.Dockerfile instead of Dockerfile.

@Chuxel Chuxel closed this as completed Jun 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants