This repository contains a prototype for a Visual Studio Code dev container setup for a .NET 7 project. The devcontainer mounts the host's docker port, and provides the kind binary to support development with a local Kubernetes cluster.
- Docker
- Visual Studio Code with Dev Containers extension
- Clone this repository
- Open the repository in Visual Studio Code
- When prompted, open the repository in a development container
This setup allows development and testing C# (.NET 7) applications in a containerised environment, while also providing the ability to interact with Docker and Kubernetes on the host machine for convenience.
To get a terminal inside the container:
docker exec -it --user vscode dotnet-devcontainer-prototype bash