Developing Inside a Container

The Visual Studio Code Remote - Containers extension lets you use a Docker container as a full-featured development environment. It allows you to open any folder inside (or mounted into) a container and take advantage of Visual Studio Code's full feature set. A devcontainer.json file in your project tells VS Code how to access (or create) a development container with a well-defined tool and runtime stack. This container can be used to run an application or to sandbox tools, libraries, or runtimes needed for working with a codebase. page

We find dev container useful for dealing with backward protobuf compatibility github/prototobuf rather than latest Go API where Google injects google/protobuf.

Add to devcontainer.json Rust

VS Code