Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Zed 5 min read Announcement mediumAdept

Run Your Project in a Dev Container, in Zed

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.

Assumes: Docker basics

Related posts

  • Streamlining Local Development with Dev Containers and Testcontainers Cloud

    Docker mediumAdept

    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. A walkthrough using IntelliJ's Dev Containers plugin and a Spring Boot Java 21 workshop repo shows both devcontainer.json configurations. The Testcontainers Cloud setup passes a TC_CLOUD_TOKEN via an env file kept out of git, sets TCC_PROJECT_KEY to group sessions, and is checked through the agent log. Moving to Testcontainers Cloud is pitched as avoiding Docker-in-Docker's security concerns and local resource load.

  • Container Use for Locally Sandboxed, Background Agents in Zed

    Zed mediumAdept

    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. Each agent task gets a randomly named environment that can be inspected with `container-use list`, `watch`, `log`, `diff` and `terminal`, with service tunnels to localhost. The recommended Zed setup uses two custom Agent Panel profiles: a `foreground` profile with all built-in Zed tools enabled and a `container-use` profile with only Container Use tools enabled, so foreground and background agents don't collide.

  • Zed Weekly: #28

    Zed mediumAdept

    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. Team updates cover porting core UI such as popovers, autocomplete menus and breadcrumbs. The UI component work introduces a shared `ButtonLike` base for `Button` and `IconButton` and Rust traits like `Selectable` that concrete components delegate to, keeping APIs and styling consistent. Other updates include typescript-language-server, eslint and prettier fixes, plus an idea for searching gitignored directories in the file finder.

  • Host a Dev Environment on Render with VS Code and Tailscale

    Render mediumAdept

    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. OpenSSH fails in Render's unprivileged containers because privilege separation needs CAP_SYS_CHROOT, so dropbear serves SSH instead, with SSH agent forwarding for GitHub authentication. A persistent disk mounted at /home keeps repos, caches and the VS Code binaries across deploys, and a start script recreates authorized_keys at runtime so the mount doesn't overwrite it.

  • Master Docker and VS Code: Supercharge Your Dev Workflow

    Docker mediumAdept

    Docker containers paired with VS Code's Docker extension give every developer an identical environment and remove "works on my machine" bugs. The walkthrough builds and runs annotated Dockerfiles for an Express app and a Flask app, then manages containers from the extension's sidebar. It also covers attaching the debugger to Node's inspect port (9229) and to multiple services under Compose, and using Dev Containers for shared team environments. Tips include trusted base images, scanning with Docker Scout or Trivy, `.dockerignore` and multi-stage builds, and a GitHub Actions snippet that builds, tests and pushes images.

The quest for software engineering knowledge.

Look:
Layout: