---
title: "Run Your Project in a Dev Container, in Zed"
description: "Zed v0.218 can open projects inside Dev Containers defined by `.devcontainer/devcontainer.json`, giving teams reproducible development environments."
url: "https://swe.quest/articles/run-your-project-in-a-dev-container-in-zed-4ba65af5822b4f8c"
canonical: "https://zed.dev/blog/dev-containers"
source: "Zed"
published: "2026-01-07"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 5
tags: ["developer-tools","containers","developer-productivity"]
---

# Run Your Project in a Dev Container, in Zed

A post on [Zed](https://swe.quest/sources/zed.md), published 2026-01-07, 5 min read, Announcement. Original: [https://zed.dev/blog/dev-containers](https://zed.dev/blog/dev-containers)

## Summary

Zed v0.218 can open projects inside Dev Containers defined by \`.devcontainer/devcontainer.json\`, giving teams reproducible development environments. It reuses Zed's SSH remote-development architecture: the local Zed runs the GPUI interface and spawns a Zed remote server that handles files, language servers and parsing, communicating over stdin/stdout. Supporting containers only needed a new transport over \`docker exec\`. Containers are created by calling the reference \`devcontainer up\` CLI, which got the feature shipped quickly but means \`forwardPorts\` and Zed-specific \`customizations\` such as extensions are not supported yet. A planned in-house implementation is meant to add both.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)
- [Containers](https://swe.quest/tags/containers.md) (Infrastructure)
- [Developer productivity](https://swe.quest/tags/developer-productivity.md) (Engineering practices)

## Prerequisites

- Docker basics ([easy posts on Containers](https://swe.quest/tags/containers.md?difficulty=easy))

## Keywords

Zed, Dev Containers, devcontainer.json, devcontainer CLI, Docker, GPUI

## Related posts

- [Streamlining Local Development with Dev Containers and Testcontainers Cloud](https://swe.quest/articles/streamlining-local-development-with-dev-containers-and-testcontainers-cloud-050962d8604171c1.md): Docker · 2024-08-27 · Medium · 7 min read · Containers, Testing, Developer tools, Java & JVM
  Testcontainers-based tests and services can run inside a dev container by giving the container Docker access, either through the Docker-in-Docker feature or by swapping in the Testcontainers Cloud feature, which runs an agent that points Docker calls at a remote cloud environment.
- [Container Use for Locally Sandboxed, Background Agents in Zed](https://swe.quest/articles/container-use-for-locally-sandboxed-background-agents-in-zed-256d62989b0aa880.md): Zed · 2025-07-30 · Medium · 3 min read · AI agents, AI for coding, Sandboxing & isolation, Containers, Developer tools
  Container Use, an open source MCP tool, gives coding agents isolated sandboxes by pairing Dagger containers with Git worktrees, so background agents can work in parallel on the same repo without touching local files.
- [Zed Weekly: #28](https://swe.quest/articles/zed-weekly-28-c8ae91adc8298b18.md): Zed · 2023-12-04 · Medium · 5 min read · Developer tools, Rust, Design systems
  Zed is rewriting its editor as Zed2 in three phases (runnable core editing, productivity features like collaboration, terminal and Vim mode, then flagship features like Assistant, Copilot and Chat), aiming for a preview by end of 2023 and open-sourcing shortly after Zed2 supersedes Zed1.
- [Host a Dev Environment on Render with VS Code and Tailscale](https://swe.quest/articles/host-a-dev-environment-on-render-with-vs-code-and-tailscale-6236fb7c08487752.md): Render · 2021-10-06 · Medium · 17 min read · Developer tools, Containers, Networking, Cloud platforms, Identity & auth
  A self-hosted cloud dev environment can run on Render as a private service, reached over a Tailscale subnet router and edited with VS Code's Remote-SSH extension. code-server works and installs as a PWA, but it lacks some extensions.
- [Master Docker and VS Code: Supercharge Your Dev Workflow](https://swe.quest/articles/master-docker-and-vs-code-supercharge-your-dev-workflow-6114b48c12630cac.md): Docker · 2025-04-03 · Medium · 9 min read · Containers, Developer tools, Developer productivity, CI/CD
  Docker containers paired with VS Code's Docker extension give every developer an identical environment and remove "works on my machine" bugs.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
