Skip to content

kosperera/devcontainers

Repository files navigation

Remote - Containers Definitions

JavaScript

This repository serves as a flavor of reusable developer containers that are listed on @microsoft/vscode-dev-containers.

The vscode-remote-try-* repositories may also be of interest if you are looking for complete sample projects.

Containers

See the beginner's series to dev containers for full-blown instructions to create your own development container.

Description
arm A sandbox based on bullseye for Apple Silicon and other ARM-based devices. Also can be used as a template.
azure-func-dotnet-iso Customized for Azure Serverless stack including Azure CLI, Azure Func, Core Tools, .NET 6, and Azurite Emulator.
dotnet Ideal for .NET development. Also include GitHub CLI, Azure CLI, Node.js, and extensions for VS Code to managing pipelines and cloud resources.
gh-pages Ideal for GitHub Pages and static website development with Jekyll.
sql-server Moved to dotfiles repo.
typescript-node Ideal for the JS/TS-based development and Node.js development. Also includes linters for JS and TS.

Requirements

See the system requirements page for a minimal set of tools required to get started.

Using Containers

Using a dev container is easy as copying the content into the project root, and:

With VS Code:

  • Edit the post-create.zsh script, if needed
  • Run command: Rebuild and Reopen in Container

Browsing container registry

Microsoft guide to Browse the Container Registry is a good source to learn how the dev container images are organized. See the entire catelog on Docker Hub.

.devcontainer folder

These dev containers use container features to mix and match sandboxes, and avoid the use of docker compose to construct and spawn container instances. See the devcontainer.json file inside the folder to learn full-blown configurations.

.vscode folder

These dev containers are configured to build and run the source within VS Code. See the tasks.json file inside the folder to learn more.

Feedback

If you have any technical problems with VS Code or Dev Containers, you are better off asking VS Code Support directly, since you'll end up getting a much faster response back that way.

Contributing

The official repo to contribute would be @microsoft/vscode-dev-containers.

Have a suggestion or a bug fix? Just open a pull request or an issue. Include the development container with a clear folder name and the simplest instructions possible.

License

Copyright ©️ Kosala Nuwan Perera. All rights reserved.

The source code is license under the MIT license.