CourionAI
EN
Newsletter
← Glossary Term

devcontainer

A development environment defined in a config file and run inside a container, so a project's tools and its filesystem access are isolated from the rest of your computer.

The original point of devcontainers was reproducibility: everyone on a team gets the same versions of everything, described in a file that lives in the repository. Open the project in a supported editor and it builds the environment for you.

They have picked up a second job in the age of coding agents. If you let an agent run commands without asking permission each time, a devcontainer means the worst it can reach is the project directory and a disposable container, not your whole machine. Security firms now ship devcontainer setups for exactly this reason.