Skip to main content

Configuring dev containers

You can customize the dev container configuration for your repository.

Setting a minimum specification for codespace machines

You can avoid under-resourced machine types being used for GitHub Codespaces for your repository.

Adding features to a devcontainer.json file

With features, you can quickly add tools, runtimes, or libraries to your dev container configuration.

Automatically opening files in the codespaces for a repository

You can set particular files to be opened automatically whenever someone creates a codespace for your repository and opens the codespace in the Visual Studio Code web client.

Specifying recommended secrets for a repository

You can add a setting to your dev container configuration that will prompt people to set specific development environment secrets when they create a codespace.