A team that has started using Claude Code, Codex or Cursor often already has a devcontainer.json in the repository. That file is useful, and this post is not an argument against it. The question teams trip over is whether the Dev Container Specification, by itself, is the same thing as giving every coding agent its own machine.
It is not. One describes the environment. The other is the machine the environment runs on, plus the list, the policy and the stop button that a team needs once there are many of those machines. You can use both.
What the specification actually is
The Development Container Specification is an open format “for enriching containers with development specific content and settings.” On the same site, a development container is described as a way “to use a container as a full-featured development environment.” It can run an application, separate the tools and runtimes a codebase needs, and help with continuous integration and testing. “Dev containers can be run locally or remotely, in a private or public cloud, in a variety of supporting tools and editors.”
The first metadata format in the spec is devcontainer.json. The overview says it is a structured JSON-with-comments format “that tools can use to store any needed configuration required to develop inside of local or cloud-based containerized coding.” The same setup can be reused in CI: the overview points at the devcontainers/ci GitHub Action and Azure DevOps Task for running a repository’s dev container in a CI build.
Visual Studio Code’s Dev Containers documentation describes one supporting tool. The extension “lets you use a container as a full-featured development environment” and “open any folder inside (or mounted into) a container.” A devcontainer.json in the project “tells VS Code how to access (or create) a development container with a well-defined tool and runtime stack.” The extension supports the open specification; it is not the specification itself.
That is a solid answer to “how do we describe the tools this work needs, once, and reuse the description?”
What a team of coding agents still has to decide
The specification does not try to be a fleet of machines for agents. A team running many Claude Code, Codex or Cursor agents still has to answer questions the file does not answer.
How many machines, and who owns each one? A devcontainer.json describes one environment. A team of agents needs many machines at once, one per agent and task, with names a person can recognise in a list. Opening a folder in a container from an editor is a good fit for one developer. It is a poor fit for ten agents working overnight.
What happens when the laptop closes? A dev container on a laptop lives and dies with that laptop, the same as any other local setup. The spec also covers remote and cloud tools, but then you are choosing a product or a cluster to run those containers, and you still have to decide how they are started, listed and stopped. The file does not do that on its own.
Who can stop a run, and what credentials does it hold? Agents work while nobody watches. The team needs a record of what each machine did, a way to stop one or all of them, and a place for secrets that is not the developer’s laptop. Those are team controls, not container metadata.
Which agent runs inside the environment? A supporting editor opens the folder and provides its own features. A coding agent needs a machine it can log into, install its CLI on, and keep using after the person who started it has closed their editor.
None of this is a failing of the specification. It is the edge of what a format for development environments is for.
Using both
A devcontainer.json can still be the recipe for the image or template you start each agent machine from. That is a good use of it. The workspace is the machine: a persistent cloud computer with its own disk, a name, an owner, a time to live and a way to stop it. The specification is how you describe what is on that disk when the machine starts.
The other designs a team compares with this are a laptop, a vendor’s own agent cloud, a cloud workspace built for one developer, and CI as the place the tests run. CI should stay the merge gate; it should not be the agent’s edit-test loop. That split is the subject of why the loop should not wait on CI.
What Sandscale is in this picture
Sandscale is for teams using coding agents. Every agent gets its own workspace. There is no control plane to write. You connect Claude Code, Codex or Cursor from the agent’s own settings and work the way you would on a new laptop.
The Dev Container file, if you have one, can inform the template that workspace starts from. The workspace is still the machine the team administers: you can list it, set a time to live, and stop it when the task is done. A running machine counts toward the plan’s hours whether the agent is busy or waiting, which is why those stop habits matter; we walk through them in four habits for stopping and cleaning up a team’s coding-agent machines.