Closed Andomeda83 closed 1 year ago
Hi 👋
These Templates are expected to work unmodified with the Dev Container Extension.
Can you install the extension? Then, follow the instructions mentioned in https://code.visualstudio.com/docs/devcontainers/containers#_quick-start-open-an-existing-folder-in-a-container
Lastly, this is the Template you will search for with the Dev Containers: Add Dev Container Configuration Files...
command.
Thank you for getting back to me.
I can confirm that works, thank you. I perhaps misread https://containers.dev/supporting. I thought each one was a working tool, sorry.
@Andomeda83 This document refers another way which uses devcontainers CLI to add the Template --> https://github.com/devcontainers/cli/pull/388/files
Forgive me, I'm new to containers so I'm presuming I'm missing a key piece.
I've cloned this repo, and when I run
devcontainer build --workspace-folder src/dotnet-mssql/
I get the following error:I can see
imageVariant
is an option indevcontainer-template.json
, but it seems the default value isn't being picked up. I also don't see a way of setting the option.Am I doing something wrong?