Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Haven for VS CodeNew to Visual Studio Code? Get it now.
Haven for VS Code

Haven for VS Code

CELLAXON

|
2 installs
| (0) | Free
Manage WSL containers (wslc) from VS Code: containers, logs, usage, images, volumes, networks and ports. The Haven Desktop experience in your editor.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Haven for VS Code

Manage containers you run with wslc, the container tool included with WSL, without leaving VS Code. It brings the everyday work of Haven Desktop into the editor: containers, Compose projects, logs, resource usage, images, volumes, networks, ports, file transfers and an activity history.

The interface is in English and Korean. It follows the VS Code display language; set haven.language to choose.

Product page and help · 제품 소개와 도움말(한국어)

Unofficial. Not made, affiliated with or endorsed by Microsoft.

Requirements

  • Windows 10 or 11 with WSL that includes wslc 3.0.5 or later. If wslc is missing or too old the sidebar shows a setup guide. To use a wslc somewhere else, set haven.wslcPath (or the HAVEN_DESKTOP_WSLC environment variable, shared with Haven Desktop).
  • VS Code 1.106 or later.

Getting started

  1. Make sure WSL includes wslc 3.0.5 or later (wslc --version in a terminal).
  2. Click the Haven icon in the Activity Bar. Your containers appear right away.
  3. If wslc can't be found, the sidebar shows a setup guide. To use a wslc somewhere else, set haven.wslcPath.

Most actions are also in the Command Palette under Haven:.

Features

  • Haven sidebar in the Activity Bar, laid out like Haven Desktop: Containers, Images, Volumes, Networks, Ports, Activity & file transfers, Usage and System, each with a live count. A Live badge shows that wslc events is connected; changes appear immediately and the list is also re-read every few seconds.
  • Containers: search, group by project label (Compose projects by default), start, stop, restart, kill, remove (one, a selection, or a whole project), prune stopped containers, export the filesystem to a tar file. Health status is shown on every row.
  • Compose: wslc has no Compose, so Haven reads the Compose file and runs the equivalent network create, volume create and run commands (with Docker Compose labels), waits for depends_on health and completion conditions, builds images from build:, and lets you bring the project down again. Right-click a compose.yaml in the Explorer, or use Compose on the Containers page. Before anything runs you see every service, the Windows folders it will open to containers, profiles you can turn on, and warnings for keys that aren't supported.
  • Container details in an editor tab: state, health check with its recent results, command, ports (open in the browser or copy), mounts, networks, environment (values hidden unless you opt in) and labels.
    • Logs: follow, choose how many lines, filter, timestamps, wrap, copy and save.
    • Usage: CPU and memory with a short history, network and disk I/O.
    • Files: a Windows folder and a container folder side by side. Select several (Ctrl/Shift) and drag them across or use the middle buttons, or Shift-drag from the VS Code Explorer. When names already exist, a table compares sizes and times and lets you pick what to overwrite. Small files open in the editor as a copy.
    • Terminal opens a shell in the VS Code terminal (wslc exec -it); Console attaches to the main process.
  • Run a container from a form with the same rules as Haven Desktop: ports, volumes, environment, restart policy, --rm, and advanced options (network and alias, memory and CPU limits, working folder, user, entrypoint, host name, env file, labels, health check, GPUs, interactive, other wslc run options).
  • Images: pull (watch progress, cancel), build from a Dockerfile (context, Dockerfile, tag, build args, target stage, no-cache; right-click a Dockerfile in the Explorer), push, tag, save to and load from a tar file, import a filesystem tar, inspect, remove, prune, and check for newer versions of pulled public images.
  • Volumes and networks: create, inspect, remove, prune; connect and disconnect containers.
  • File transfers: a record of container file copies, image save and load, and filesystem export and import, with full paths, size and result. Show in Explorer, or retry what failed.
  • Usage → Disk & session: how much of the Windows drive the session disk takes, usage inside the session and an estimate of the space you could reclaim, plus the session resource settings (CPUs, memory, disk limit, idle timeout) from the wslc settings file. Only the keys you change are edited, comments are kept and a .bak copy of the original is made.
  • System: wslc, session manager, kernel and Windows versions; running sessions (end a session); the diagnostic log and Make a copy to send, which masks your user folder, user name and computer name.
  • Docker Engine in WSL distributions: choose distributions where you installed Docker Engine (docker-ce) with Haven: Manage Docker Engines in WSL Distributions…; their containers, images, volumes and networks then appear together with wslc's, marked with the distribution's name, and the same actions work on them. When you create something, a Create in option lets you pick where, and Compose projects there run with that distribution's docker compose. Prune applies only to wslc. Docker Desktop isn't supported.
  • Registries: log in and out. The password is passed on standard input only and never stored.
  • Notifications when a container turns unhealthy or stops unexpectedly (each can be turned off).
  • Status bar shows how many containers are running, and how many are unhealthy.

Every destructive action asks for confirmation first.

Settings

Setting Default
haven.wslcPath Full path to wslc.exe
haven.session wslc session (--session)
haven.refreshInterval 5 Seconds between container list reads
haven.groupLabels ["com.docker.compose.project"] Labels that group containers into projects
haven.groupByDefault true Group containers by project in the sidebar
haven.appearance.palette vscode vscode (follow the color theme) or haven (Haven Desktop colors)
haven.language auto auto, en or ko
haven.notifications.unhealthy true Notify when a container turns unhealthy
haven.notifications.unexpectedExit true Notify when a container stops with a non-zero code
haven.terminal.shell /bin/sh Shell to open in containers
haven.logs.tail 500 Log lines to load first
haven.details.revealEnvironment false Show environment variable values
haven.statusBar true Show the running count in the status bar
haven.dockerEngines [] WSL distributions whose Docker Engine to show

High-contrast themes always use the VS Code theme colors.

Privacy

Everything runs locally through wslc (and wsl.exe for Docker engines you turn on). The extension contacts the network only when you choose Check for newer versions on the Images page: it then asks the image's registry for the current digest of the tag, anonymously (no login, no cookies, redirects are not followed, and token servers outside the registry's own domain are refused).

The Haven output channel records the commands it runs; environment and build-argument values are masked there. The activity history (container and image names, exit codes) and the file transfer history (full paths) are kept in VS Code's extension storage on this computer; the transfer history isn't synced.

Feedback

Questions and problem reports: see the product page. When reporting a problem, System → Make a copy to send creates a diagnostic log with your user folder, user name and computer name masked.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft