Mistral Vibe in Docker

Run Mistral Vibe in a container: EnvHaven's open-source image with Mistral Vibe built in, a managed workspace with nothing to run, and the folders and keys a container of your own has to keep.

Updated November 23, 2026 · Checked against Mistral Vibe 3.0.2 in EnvHaven v1.9.0

A container keeps whatever Mistral Vibe does with full access away from your own files, which makes it the usual home for unattended runs. EnvHaven is built on that idea in two forms: a managed workspace, which is the container already running on a server of its own, and the open-source workspace image, which you run with Docker yourself.

A managed workspace: nothing to run

  1. Open your workspace in any browser. It is the EnvHaven container on its own always-on server, with an HTTPS address for what you build.
  2. Tap Launch, choose Mistral Vibe and tap Sign in: it runs vibe --setup for you in the terminal. For an API key, choose Set key instead and paste MISTRAL_API_KEY; the workspace keeps it write-only.
  3. Start it with one tap: signed in, Mistral Vibe gets a green dot in the Launch menu and an icon in the workspace’s top bar. Support is built in (3.0.2), so there is nothing to install or update.
  4. Give it a task. Runs with the default agent; add --auto-approve for unattended runs.

The EnvHaven image, on your own Docker

The workspace image is MIT-licensed and ships Mistral Vibe 3.0.2 beside 16 other agents. Its home is /config, so one volume keeps every agent’s settings and sign-in when the container is replaced:

docker run -d \
  --name envhaven \
  -p 8443:8443 \
  -p 2222:22 \
  -e PASSWORD=password \
  -e SUDO_PASSWORD=password \
  -v envhaven-config:/config \
  ghcr.io/envhaven/envhaven:latest

Open http://localhost:8443, run vibe in the terminal and sign in. The self-hosted guide covers SSH and Haven CLI against it.

What a container for Mistral Vibe has to keep

Mistral Vibe keeps its settings in ~/.vibe (source). Without a keyring, as in most containers, its setup saves the API key to ~/.vibe/.env; MISTRAL_API_KEY in the environment wins over it.

In a container of your own, mount a volume there so a rebuilt container stays signed in, or pass MISTRAL_API_KEY as an environment variable instead of signing in.

Full access inside the container

For one session:

vibe --auto-approve

As the default, in ~/.vibe/config.toml:

default_agent = "auto-approve"

--auto-approve (alias --yolo) approves every tool call. The default agent, accept-edits, already applies file edits without asking and asks before shell commands.