unsupported media type application/vnd.devcontainers when pulling template image
Hello.
I have created my own devcontainers template repository (https://github.com/brpaz/devcontainer-templates) using the template-starter, but I when I try to use my template as a base image in another project, I got the following error:
[2650 ms] Start: Run: docker pull ghcr.io/brpaz/devcontainer-templates/nix-devenv:latest
latest: Pulling from brpaz/devcontainer-templates/nix-devenv
unsupported media type application/vnd.devcontainers
[3888 ms] []
[3888 ms] Error: No such image: ghcr.io/brpaz/devcontainer-templates/nix-devenv:latest
The image exists in the repository. Probably something very dumb, but I can´t see what I am missing.
Any help is appreciated.
Hi @brpaz,
I wanted to bring to your attention the following error: Error fetching image details: No manifest found for ghcr.io/brpaz/devcontainer-templates/nix-devenv:latest It seems that the image hasn't been published correctly. Could you please check this? I’ll try to look into it if I get some spare time.
Thank you!
@gvatsal60 the image is here: and was created with the devcontainers-cli, following the tempalte-starter repository.
I think I had a typo on repository I was using.
But running docker pull ghcr.io/brpaz/devcontainers-templates/nix-devenv:latest, I get
unsupported media type application/vnd.devcontainers
It works fine, If I build the image locally.
@gvatsal60 I just discovered this is not specific for my devcontainer. The ones from this repository, give exactly the same error.
{
"image": "ghcr.io/devcontainers/templates/python"
}
[2025-01-25T17:44:27.678Z] Start: Run: docker inspect --type image ghcr.io/devcontainers/templates/python
[2025-01-25T17:44:27.711Z] Stop (33 ms): Run: docker inspect --type image ghcr.io/devcontainers/templates/python
[2025-01-25T17:44:28.840Z] Error fetching image details: No manifest found for ghcr.io/devcontainers/templates/python.
[2025-01-25T17:44:28.841Z] Start: Run: docker pull ghcr.io/devcontainers/templates/python
[2025-01-25T17:44:28.864Z] Using default tag: latest
[2025-01-25T17:44:30.042Z] latest: Pulling from devcontainers/templates/python
[2025-01-25T17:44:30.044Z] unsupported media type application/vnd.devcontainers
I am not really sure, if If I am doing something really dumb or not.
@brpaz, Could you please try using Docker Desktop for your Docker environment? I have encountered similar issues when using Colima.
I am on Linux. I don't have docker desktop