docker image doesn't exist
What happened?
=> ERROR [internal] load metadata for mcr.microsoft.com/devcontainers/universal:2 0.2s
------
> [internal] load metadata for mcr.microsoft.com/devcontainers/universal:2:
------
.devcontainer/Dockerfile:2
--------------------
1 | # Note: You can use any Debian/Ubuntu based image you want.
2 | >>> FROM mcr.microsoft.com/devcontainers/universal:2
3 |
4 | # [Optional] Uncomment this section to install additional OS packages.
--------------------
ERROR: failed to solve: mcr.microsoft.com/devcontainers/universal:2: failed to resolve source metadata for mcr.microsoft.com/devcontainers/universal:2: no match for platform in manifest: not found
What did you expect to happen?
.
How can we reproduce it (as minimally and precisely as possible)?
run this command
docker build -f .devcontainer/Dockerfile -t autogen_base_img https://github.com/microsoft/autogen.git#main
AutoGen version
0.3.1
Which package was this bug in
Core
Model used
No response
Python version
No response
Operating system
No response
Any additional info you think would be helpful for fixing this bug
No response
@rysweet or @kostapetan do you know whats up here?
@minki-j are you trying to use Codespaces or open the repo in a devcontainer?
I can repro locally but no idea what to do next - @kostapetan I just ran the same command as above in the terminal from a fresh checkout
The error @minki-j described suggests that docker didn't find a suitable image for the platform, which I will speculate is some flavor of macOS.
I did run docker pull mcr.microsoft.com/devcontainers/universal:2 on macOS, Windows and Linux, works on Windows (with linux containers) and Linux, but fails on macOS.
I don't think this is an issue however, as the devcontainer/Dockerfile is used to build a devcontainer, locally or in Codespaces and not to actually build any part of the autogen framework.
➜ ~ docker pull mcr.microsoft.com/devcontainers/universal:2 2: Pulling from devcontainers/universal
What's next: View a summary of image vulnerabilities and recommendations → docker scout quickview mcr.microsoft.com/devcontainers/universal:2 no matching manifest for linux/arm64/v8 in the manifest list entries
@kostapetan any solution for ARM