Chapters

Chapter 15

Settings reference

This Mac's settings are in one file, ~/.config/doz/doz.toml (under $XDG_CONFIG_HOME when that is set).

On this page
  1. Where a value comes from
  2. Read and change settings
    1. Per sandbox and per project
    2. The names before 0.37.34
  3. About the file
  4. Not settable, on purpose
  5. Every setting
    1. [ui]
    2. [serve]
    3. [mac]
    4. [trust]
    5. [network]
    6. [chat]
    7. [daemon]
    8. [timeline]
    9. [store]
    10. [defaults]
    11. [agent]
    12. [updates]
    13. [telemetry]
    14. [resources]
    15. [sandbox]
    16. [sessions]
    17. [bridges]
    18. [folder]
    19. [github]
    20. [images.lab]
    21. [kernel]
    22. [recipes.VENDOR.PRODUCT] — every recipe's own
    23. The names before 0.37.34 (still read, and taken by doz config)
  6. Environment variables

This Mac's settings are in one file, ~/.config/doz/doz.toml (under $XDG_CONFIG_HOME when that is set). The file lists Dozable's own settings with a description and their default, commented out; only the values you set are uncommented. A recipe's own settings — the settings of the agent it installs: its version, approvals, memory_mib, network, history, and any the recipe declares — are a [recipes.VENDOR.PRODUCT] block ([recipes.anthropic.claude-code]), written only while one of them is set, so the file stays small however many recipes there are; doz config show --agent ID lists them. The dashboard's Settings page shows and edits the same file, and its Recipes section lists the recipes on this Mac.

Where a value comes from#

For each setting, the first of these that says something wins:

  1. a command-line flag (for the settings that have one — --store, --progress, --color/--no-color, doz create --cpus, doz create --approvals, …);
  2. its environment variable (DOZ_STORE, DOZ_PROGRESS, DOZ_COLOR, DOZ_DAEMON_IDLE, DOZ_SCREEN_CAPTURE, DOZ_BOOT_LOGS, DOZ_SUBNET, DOZ_KERNEL, DOZ_KERNEL_CACHE);
  3. the sandbox's own value (a setting one sandbox can have, below);
  4. its project's (doz_project.yaml: when the sandbox is made, and again at every doz up);
  5. this Mac's (the file);
  6. the default — the recipe's own, for a recipe's settings; Dozable's, for the rest.

doz config show names the source of every value, and the dashboard shows the same word as a badge: recipe · default · Mac · project · sandbox · env · flag. A value fixed when a sandbox is made (its agent's version, memory, network, its CPUs) is recorded in it with where it came from; changing this Mac's value later moves no existing sandbox (doz reset NAME moves its version).

Read and change settings#

sh
doz config                                  # Dozable's own settings: value, source, default — and the recipes in use
doz config show --all                       # every setting, every recipe's too
doz config get ui.theme                     # one value (--json adds its source and default)
doz config set ui.theme dark                # write it to this Mac's file (checked against its type first)
doz config unset ui.theme                   # back to the default (commented out again)
doz config init                             # write the file with every setting commented out
doz config show --agent claude-code         # one recipe's settings: value, source, the recipe's default
doz config set --agent claude-code version 2.1.290   # one of a recipe's settings, on this Mac
doz config path                             # where the file is

--agent takes a recipe's id (claude-code), a major (opencode@2) or its full name (anthropic/claude-code).

In the dashboard: Settings lists Dozable's settings with their value, default, description and source, and changes them in place (Default puts this Mac's value back to the default). Its Recipes section lists the recipes in use (a sandbox runs the agent) and the ones installed (a baked image of it is on this Mac, or you set one of its values); search the catalogue for the rest. A recipe's page has its settings, its baked images, its sandboxes and Uninstall. A value set by an environment variable, and the settings that name a folder on your Mac, are shown read-only there — change them with doz config set.

Per sandbox and per project#

sandbox.clipboard, sandbox.browser_bridge, sandbox.open_files, sandbox.ssh_agent, sessions.tmux, sandbox.agent_sudo, sandbox.audio and its agent's approvals and history can also be set for one sandbox (sound only between speakers and on — whether it has sound at all is chosen when it is made; see Sound):

sh
doz config show --sandbox my-app                          # what it overrides, what it follows, what was recorded
doz config set --sandbox my-app sandbox.clipboard off
doz config set --sandbox my-app approvals ask             # its agent asks before it acts, from the next session
doz config set --sandbox my-app history agent-default     # its agent's own rule for its conversations, from its next start or wake
doz config get --sandbox my-app sessions.tmux
doz config unset --sandbox my-app sandbox.clipboard       # follow the project, else this Mac, again
doz config set --project ~/code/my-app approvals ask      # the project's doz_project.yaml

Or when you create it (doz create --clipboard off --browser-bridge off --open-files off --ssh-agent on --tmux --no-agent-sudo --sound on --approvals ask), or in its doz_project.yaml (clipboard:, browser_bridge:, open_files:, ssh_agent:, tmux:, agent_sudo:, audio:, approvals:, history:).

Conversation history cascades one layer further: agent.history (Dozable-wide: keep or agent-default) → the agent's own history (follow, the default, or keep / agent-default) → the project's history: → the sandbox's own. The most specific value that is not follow wins, and doz config show --sandbox NAME says which layer it came from. What each value does in each agent — which file and key Dozable writes, or that the agent keeps its conversations by itself — is in Agents and accounts and in doz config show --agent ID. The sandbox page's Config tab shows the same: its overrides first, with this Mac's value beside each and Follow the Mac.

The names before 0.37.34#

The recipe settings had other names before 0.37.34 (images.claude_code_version, claude.permissions, images.claude-code.memory_mib, …; the table below lists them). They still work: the file is read with them, and doz config get|set|unset takes them and says the new name. The first change written after the upgrade moves them to their new names and keeps the file as it was, once, as doz.toml.0.37.bak beside it. A base with no agent (python, go) keeps the memory and network it had: defaults.memory_mib and defaults.network, set from Claude Code's old values.

"Use GitHub as you" is a permission, not a setting: doz net allow NAME github:as-you (and github:push), doz create --github read|push, github: in doz_project.yaml — see GitHub as you.

About the file#

  • The file is Dozable's. set, unset, init and the Settings page rewrite it whole, atomically, readable only by you. Comments you add aren't kept.
  • A mistake never breaks Dozable. An unknown key or a value of the wrong type is a warning (that line is ignored, the default applies). A file that doesn't parse at all is ignored — with the line that's wrong — and never overwritten until you fix it.
  • When a change applies is part of each setting: at once, for the next command, the next sandbox created, the next session, the next start or wake, or after doz daemon stop.

Not settable, on purpose#

The dashboard's security limits and checks (session and link lifetimes, request and connection caps, the Host/Origin/CSRF checks, the content policy); a browser terminal's one-use tickets and paste limits; the guest programs; and any credential. ui.terminals can only take something away.

Every setting#

This table is generated from doz config show and checked against it on every build.

[ui]#

keydefaultvaluesappliesoverridden bywhat it does
ui.boot_view_on_startfalsebooleanat once—After Start the page stays on its Console tab (the kernel and vminitd), and marks the agent's tab when it is ready; false (the default): it switches to the agent's tab as soon as that has drawn its screen.
ui.confirm_shutdowntruebooleanat once—Shut Down asks first (its dialog's "don't ask again" sets this to false). Reset and Remove always ask with a box to tick.
ui.explain_tab_closetruebooleanat once—Closing an agent's tab returns to the sandbox's Home, which says the agent is still running and that End stops it (its "Don't say this again" sets this to false). false: Home does not say it.
ui.nav_thumbnailstruebooleanat once—The sidebar's pictures. Hovering a session shows a screen icon; resting on it for half a second shows the session's live picture (moving to another session then shows its picture at once). An unfolded workspace shows a small picture of it, drawn from its space file (or, made without one, from its record) and its live state. false: no icon and no picture (Home and a workspace's page still show theirs).
ui.split_defaultshellshell | watch | attach | dialogat once—What a terminal's Split opens: shell (a new shell session), watch (a read-only view of the left terminal's session), attach (a second, shared view of it), dialog (choose each time).
ui.terminalstruebooleanat once—Terminals in the browser. false: the UI opens none and refuses a terminal ticket (Terminal.app still works).
ui.terminal_title{sandbox} · {session} · {time}a title with {sandbox} {session} {image} {time} {phase} ("" = leave the title alone)at once—The title doz attach gives your terminal (window or tab) while attached, and a doz ui terminal's tab: {sandbox} {session} {image} {time} (this Mac's, HH:MM, refreshed each minute) {phase}. The terminal's own title comes back when you detach (where the terminal keeps a title stack: iTerm2, Ghostty, kitty, xterm). While doz sets it, a session's own title is not shown; "" leaves the title to the session.
ui.terminal_font_size13integer 9–32at once—The browser terminal's font size, in points (a terminal opened from now on).
ui.themeautoauto | light | darkat once—The UI's colours: auto follows macOS.
ui.densitycomfortablecomfortable | compactat once—The UI's spacing: comfortable, or compact — tighter rows, tabs, controls and page margins; the text stays the same size.
ui.notificationscardscards | pills | bellat once—Where the UI shows its notifications, in its top right corner: cards (a bell, and a column hanging below it, each with its full text and buttons and, for a success, a countdown that waits while the pointer is on any card), pills (one line each along the top, the newest at the right; click one for the rest), or bell (a count; the newest shows beside it for a few seconds; click for the list). Successes go by themselves; a failure stays until you close it. The Notifications page lists every one this tab showed.
ui.details_opentruebooleanat once—A sandbox's page shows its details panel (restore points, network, keys) beside the terminals; false: collapsed.
ui.setup_on_opentruebooleanat once—The dashboard opens on the setup wizard while this Mac's sandboxes are not set up (doz onboard). false: it opens on Home; the wizard stays in the sidebar (Onboarding). The wizard's Don't show again sets it.
ui.allow_secret_entrytruebooleanat once—The web UI takes an Anthropic API key or a Claude setup token in a masked field — an account (the setup wizard, Accounts & keys: stored exactly as doz account add stores it, the login keychain) or a sandbox's own key (its page: exactly as doz key set does, held by the daemon) — sent once, in a request body. false: the pages show the command instead. The UI can turn this off, never on.
ui.open_browserautoauto | always | nevernext command—When doz ui opens a browser tab: auto (only when no page of this store's UI is open — an open page reconnects by itself instead), always (every start), never (it prints the address; doz ui link opens a page). --open and --no-open override it.
ui.port0integer 0–65535ui-restart$DOZ_UI_PORT, --port NThe ONE port the dashboard (doz ui) listens on — this Mac's browser at http://127.0.0.1:<port>, and with ui.lan your other browsers at http://<this Mac>.local:<port>. 0 = automatic: without ui.lan, the port this store's last doz ui had when it is free (else one the system picks, and doz ui says so); with ui.lan, serve.port (7443), which never moves. Or a fixed port 1024–65535 (doz ui refuses to start, naming the program, when another holds it). An installed dashboard app belongs to one port: keep it fixed for one.
ui.lanfalsebooleanui-restart$DOZ_UI_LAN, doz ui --lan | --no-lanAlso serve the dashboard to the other browsers of your network (every network interface of this Mac and Tailscale, never a sandbox's network) on the same port: each gets in once with an invite (doz ui share). false (the default): this Mac only. Where it listens and your reverse proxy: the serve.* settings.
ui.grid_live_tiles12integer 1–12at once—No longer used — every session picture is live (painted from its screen, no terminal per picture). Kept so that an older settings file still reads without a warning.
ui.grid_tile_sizemediumsmall | medium | largeat once—All sessions: the size of a tile.
ui.grid_refresh_ms500integer 200–10000at once—How often the session pictures (All sessions, All sandboxes, a sandbox's Home) are brought up to date, in milliseconds. Only pictures on screen are asked for, only while the browser tab is shown, and a screen that did not change costs almost nothing. Lower looks livelier and costs more.
ui.batch_concurrency3integer 1–8at once—How many starts, wakes, resumes, sleeps, hibernations and shut-downs the dashboard runs at once; the others wait their turn, shown as queued with a Cancel. One you start on a single sandbox (or by typing in its terminal) goes ahead of those started for many at once. A pause, and a resume from a pause, never wait. A change applies as soon as one ends.
ui.progressanimatedanimated | plainat once$DOZ_PROGRESS, --progress auto|plainHow a start, wake or bake shows its progress — in the web UI's boot view and in the CLI on a terminal: animated (a spinner on the step under way, download bars, the output's last lines) or plain (one line per step, and a summary line per download). Not a terminal, --json or NO_COLOR: always plain.
ui.colorautoauto | always | neverat once$DOZ_COLOR, --color auto|always|never, --no-colorColour in the CLI's output: auto (on a terminal, unless NO_COLOR is set, TERM is dumb, or with --json or -q), always (even into a pipe or a file), never (plain text; the layout and the symbols stay the same). The dashboard has its own theme (ui.theme).

[serve]#

keydefaultvaluesappliesoverridden bywhat it does
serve.port7443integer 1024–65535ui-restart$DOZ_SERVE_PORT, doz ui --lan --port NThe dashboard's port with ui.lan while ui.port is 0 (automatic) — an earlier name for it: ui.port, when set, wins. It stays the same (devices, an installed app and a bookmark belong to it): when another program holds it, doz ui refuses and names it.
serve.bindlanlan | loopback | the Mac's addresses, comma-separatedui-restart$DOZ_SERVE_BIND, doz ui --lan --bind lan|loopback|ADDRESSESWhere the dashboard listens for your other browsers with ui.lan: lan (every network interface of this Mac and Tailscale — never a sandbox's network), loopback (127.0.0.1 and ::1 only: for a reverse proxy on this Mac), or this Mac's own addresses separated by commas (for a reverse proxy elsewhere on your network). This Mac's own browser is served at 127.0.0.1 in every case.
serve.public_origins""origins like https://doz.home.example, comma-separated ("" = none)ui-restart—The addresses your reverse proxy serves the dashboard at, like https://doz.home.example (comma-separated). A browser may use one only through a proxy listed in serve.trusted_proxies. Over https, keys and tokens may be typed in the dashboard; over plain http they never are (except in this Mac's own browser).
serve.trusted_proxies""addresses or networks like 127.0.0.1, 192.168.1.0/24, comma-separated ("" = none)ui-restart—The reverse proxies whose X-Forwarded-Proto, X-Forwarded-Host and X-Forwarded-For the dashboard believes — their addresses or networks, comma-separated (a proxy on this Mac: 127.0.0.1, ::1). From anyone else those headers are ignored.
serve.mac_sessionsoffoff | watch | interactiveat once—With ui.lan, what your other browsers may do with the sessions on this Mac (doz run @mac — they run as you, an unfenced one with your files, Keychain and network): off (they do not see them), watch (list them and watch their screens, read-only) or interactive (also type into them, end and restart them). This Mac's own browser always has them.
serve.chatoffoff | read | writeat once—With ui.lan, what your other browsers may do with chat: off (they do not see it), read (read the rooms, with nothing they can send or change) or write (also post, react, edit, delete, reveal direct messages and attach files). A browser that may write acts as you in chat, the verified human: your agents take its words as yours. Each thing it sends is a line in the dashboard's audit log (never what it said). This Mac's own browser always has chat.
serve.advertisetruebooleanui-restart—With ui.lan, announce the dashboard on your network with Bonjour ("Dozable on <this Mac>", http://<this Mac>.local:<port>), so other Macs and phones can find it.

[mac]#

keydefaultvaluesappliesoverridden bywhat it does
mac.fenceonoff | onnext session$DOZ_MAC_FENCE, doz run @mac --fenced | --unfencedWhether a new session on this Mac (doz run @mac) runs fenced: held to its folder, its own temp and caches, your Keychain, secrets and other folders closed, its network only through Dozable's proxy (on, the default), or with no isolation at all (off). doz run @mac --fenced or --unfenced decides for one session; a session keeps its mode when it is restarted.
mac.keychainoffoff | onnext sessiondoz run @mac --keychainWhether a fenced session on this Mac may use your Keychain (signing, notarisation — and so, reading your saved logins). doz run @mac --keychain opens it for one session.
mac.fence_read""paths relative to your home, comma-separated, like "notes, src/shared" ("" = none)next session—Folders or files in your home a fenced session on this Mac may read (never write), relative to your home and separated by commas, like notes, src/shared. Your secrets (~/.ssh, ~/.config, ~/Library) stay closed.
mac.permissionsstandardstandard | locked | opennext sessiondoz run @mac --permissionsWhat a fenced session on this Mac may reach through Dozable's proxy: standard (its AI model, its own updates, GitHub, error reports and the Node, Python, Go, Rust and Swift package registries), locked (its AI model only — and no certificate checks on its behalf) or open (any site). This Mac's own addresses are never reachable. doz run @mac --permissions decides for one session; doz net allow|deny @mac --session S changes a running one.
mac.agent_configprivateprivate | sharednext sessiondoz run @mac --agent-configA fenced agent's settings folder on this Mac: private (its own; your instructions and skills read-only) or shared (your own ~/.claude: less isolated).
mac.accountmacmac | nonenext sessiondoz run @mac --accountThe Claude login a fenced Claude Code gets through Dozable's proxy: mac (this Mac's login) or none. --account NAME picks an account.
mac.agent_promptfencedfenced | always | offnext session—Tell Claude Code on this Mac where it runs (a facts block in its prompt): fenced sessions, always, or off.
mac.open_urlonon | offnext sessiondoz run @mac --open-urlA fenced session may open web pages in your browser, each announced (on, off).
mac.open_filesonon | offnext sessiondoz run @mac --open-filesA fenced session may open documents of its folder in your apps, each announced (on, off).
mac.clipboardwritewrite | offnext sessiondoz run @mac --clipboardA fenced session may put text on your clipboard, never read it; each copy announced (write, off).
mac.remote_controlreconnectreconnect | offat once—When a Claude Code agent on this Mac started with Remote Control shows it is off or disconnected, Dozable types /remote-control into it once it is idle (an empty prompt and nothing running), each time said: once after a restart, and at most once in 10 minutes and 3 times an hour for a dropped one (reconnect, off). Never while it works or holds unsent input.
mac.fence_loopback_listenoffoff | onnext session—Whether a fenced session on this Mac may listen on ANY port (a dev server, a test server on a free port), not only its --local-port ones (on, off). macOS's sandbox cannot keep such a server to this Mac's loopback: one that listens on every address is reachable from your network too (your firewall decides). The program still cannot connect to its own server from inside (its only way out is Dozable's proxy) — use --local-port N for that. From the next session (or restart).

[trust]#

keydefaultvaluesappliesoverridden bywhat it does
trust.agents_act_as_youtruebooleanat once—Whether an agent that runs as you (No fence, on your own login) counts as you: it may keep agents running — No fence and bypassed ones included — and confirm on your behalf, each recorded as done for you (true). False: it counts as any other agent and keeps only Fenced agents. Only a person changes this.

[network]#

keydefaultvaluesappliesoverridden bywhat it does
network.host_ports_livetruebooleannext command—Whether doz net allow NAME host:PORT may open a port of this Mac to a sandbox or a fenced session while it runs (true), or this Mac's ports are fixed when it starts — doz create/run --host-port PORT (false). Taking a port away (doz net deny NAME host:PORT) always works.
network.placeholders_plain_httptruebooleannext session—Whether a secret given with --secret may travel over plain HTTP — only ever to this Mac's ports (host.dozable.internal) and Tailscale addresses (100.64.0.0/10), never elsewhere.

[chat]#

keydefaultvaluesappliesoverridden bywhat it does
chat.enabledfalsebooleanat once—Run the chat server: the doz daemon keeps it running on this Mac (127.0.0.1 only) while this is on. Turn it on and off with doz chat on|off; while it is on, the dashboard (this Mac's own browser) shows Chat. An early feature (doz chat --help).
chat.page_port8790integer 1024–65535at once—The chat server's HTTP port on 127.0.0.1: agents call /agent/… on it with their own token. Nothing on it acts as you. When it changes, the daemon restarts the chat server within a few seconds.
chat.line_port8791integer 1024–65535at once—The chat server's line port on 127.0.0.1 (one JSON message per line). Every caller needs a token. When it changes, the daemon restarts the chat server within a few seconds.
chat.remote_listen""Tailscale addresses like 100.100.1.2, comma-separated, each one exactly ("" = none)at once—This Mac's own Tailscale addresses (100.64.0.0/10) on which the chat server also listens, both ports, for agents on other machines. Only agents, each with its own token; never you. Plain HTTP: Tailscale encrypts it; any other address is refused.
chat.remote_agents""Tailscale addresses like 100.100.1.2, comma-separated, each one exactly ("" = none)at once—The Tailscale addresses of the other machines that may connect to the chat server (each exactly; no range). Each is always an agent: it must send its token; it gets /agent/… and files with its token, never your page or /api.
chat.refusal_reasonsfalsebooleanat once—Give a refused post its reason as an extra field (reason: space-down when the room's workspace is finished), beside the refusal the chat server always gives. Off by default: clients made for the reference never see it.
chat.askstruebooleanat once—Asks in chat: an agent may post a question that waits for a decision by you (or a participant you made a decider with doz chat set NAME --role decider). Off: an ask, /decide and /withdraw are refused, and open asks stay as they are until asks are on again. The chat server restarts to take it.
chat.ask_max_open1integer 1–20at once—How many open asks one participant may have in one room at once (1 to 20). The chat server restarts to take it.
chat.ask_expiry_seconds86400integer 60–604800at once—How long an ask stays open when it names no expiry of its own, in seconds (60 to 604800, a week); then its answer is decline. The chat server restarts to take it.
chat.ask_cooldown_seconds600integer -1–86400at once—How long after an ask is declined or expires its asker may not ask about the same thing again, in seconds (0 to 86400; -1 turns it off). The chat server restarts to take it.

[daemon]#

keydefaultvaluesappliesoverridden bywhat it does
daemon.always_ontruebooleanat once$DOZ_DAEMON_ALWAYS_ONKeep the doz daemon running when nothing runs, so sessions and sandboxes are answered at once (default on). While this is on, daemon.idle_timeout_minutes (the next setting) has no effect: the daemon does not switch itself off by idling. Off: the daemon exits once it has had nothing running for daemon.idle_timeout_minutes, and when that is 0 it never does. A new doz installed under it takes over by itself once nothing runs. A daemon started where the login keychain is locked (over ssh) is never kept running: it exits after 5 minutes with nothing running, whatever these two settings say.
daemon.idle_timeout_minutes5integer 0–10080after doz daemon stop$DOZ_DAEMON_IDLE, doz daemon start --idle-timeoutMinutes with nothing running before the daemon exits (default 5). It is read only when daemon.always_on (the previous setting) is off; while always-on is on, the daemon keeps running and this has no effect. 0 disables the timeout: with always-on off, the daemon then never switches off by idling.
daemon.login_itemaskask | on | offat once—Start the doz daemon when you log in, from your desktop session: one login item in ~/Library/LaunchAgents, removed by off and by doz uninstall. ask: not installed; doz offers it once. Set on this Mac (doz daemon login-item on|off), never from the dashboard.
daemon.screen_capture_minutes5integer 0–1440after doz daemon stop$DOZ_SCREEN_CAPTUREEvery this many minutes, save the screen of each running sandbox's sessions that printed something since (what a sleep or hibernation falls back on); 0 = only when it pauses, sleeps or hibernates.
daemon.boot_logs_kept5integer 1–50next boot$DOZ_BOOT_LOGSHow many boots of each sandbox to keep (its steps and kernel console — the web UI's Boot log, doz console --boot N); the oldest goes.
daemon.mac_namethis Maca name of 1–63 letters, digits, spaces or hyphensat once$DOZ_MAC_NAMEThe name this Mac goes by in its history and in a space's state, e.g. "studio". It is shown, never looked up on the network.
daemon.keepalivefalsebooleana store that hasn't chosen—When a Mac login expires, while a sandbox or fenced session uses it and no unfenced Claude Code runs, the daemon runs the Mac's claude once to renew it (doz account keepalive always: also with nothing using it).

[timeline]#

keydefaultvaluesappliesoverridden bywhat it does
timeline.sample_seconds60integer 0–3600at once$DOZ_TIMELINE_SAMPLE_SECONDSHow often, in seconds, each running sandbox's CPU, memory and disk use are kept for its history (10–3600); 0 = never. Read from this Mac, never inside the sandbox.
timeline.actions30/30/365/keptdays EVENTS/1M/1H/1D, each a number of days or kept, like 30/30/365/keptat once—Days the history keeps actions: single events, then counts by minute, hour and day (kept = until you delete it).
timeline.sessions30/30/365/keptdays EVENTS/1M/1H/1D, each a number of days or kept, like 30/30/365/keptat once—Days the history keeps sessions: single events, then counts by minute, hour and day (kept = until you delete it).
timeline.daemon30/30/365/keptdays EVENTS/1M/1H/1D, each a number of days or kept, like 30/30/365/keptat once—Days the history keeps daemon runs: single events, then counts by minute, hour and day (kept = until you delete it).
timeline.network30/30/365/keptdays EVENTS/1M/1H/1D, each a number of days or kept, like 30/30/365/keptat once—Days the history keeps network, per minute: single events, then counts by minute, hour and day (kept = until you delete it).
timeline.workspace90/90/365/keptdays EVENTS/1M/1H/1D, each a number of days or kept, like 30/30/365/keptat once—Days the history keeps workspace log: single events, then counts by minute, hour and day (kept = until you delete it).
timeline.grants365/365/365/keptdays EVENTS/1M/1H/1D, each a number of days or kept, like 30/30/365/keptat once—Days the history keeps permission decisions: single events, then counts by minute, hour and day (kept = until you delete it).
timeline.runskept/kept/kept/keptdays EVENTS/1M/1H/1D, each a number of days or kept, like 30/30/365/keptat once—Days the history keeps workspace runs and space frames: single events, then counts by minute, hour and day (kept = until you delete it). A run's frames are its record, kept as the run folder is.
timeline.chat30/30/365/keptdays EVENTS/1M/1H/1D, each a number of days or kept, like 30/30/365/keptat once—Days the history keeps chat times and ask outcomes: single events, then counts by minute, hour and day (kept = until you delete it).
timeline.daemon_events7/30/365/keptdays EVENTS/1M/1H/1D, each a number of days or kept, like 30/30/365/keptat once—Days the history keeps the daemon's event stream: single events, then counts by minute, hour and day (kept = until you delete it).
timeline.egress7/7/90/365days EVENTS/1M/1H/1D, each a number of days or kept, like 30/30/365/keptat once—Days the history keeps egress, per connection: single events, then counts by minute, hour and day (kept = until you delete it). Single connections name the hosts a sandbox reached; their counts per sandbox (never a host) are what the longer parts keep.
timeline.resources7/7/365/keptdays EVENTS/1M/1H/1D, each a number of days or kept, like 30/30/365/keptat once—Days the history keeps cpu, memory and disk samples: single events, then counts by minute, hour and day (kept = until you delete it).
timeline.keys30/30/365/keptdays EVENTS/1M/1H/1D, each a number of days or kept, like 30/30/365/keptat once—Days the history keeps key and proxy use: single events, then counts by minute, hour and day (kept = until you delete it).

[store]#

keydefaultvaluesappliesoverridden bywhat it does
store.path~/Library/Application Support/dozpath ("" = automatic)next command$DOZ_STORE, --storeThe store: images, kernels, sandboxes and the daemon's files.

[defaults]#

keydefaultvaluesappliesoverridden bywhat it does
defaults.cpus2integer 1–64new sandboxesdoz create --cpusCPUs of a new sandbox.
defaults.memory_mib2048integer 256–262144new sandboxesdoz create --memoryMemory (MiB) of a new sandbox whose image has no agent (a base alone: python, go). A recipe's sandboxes have their recipe's own (doz config show --agent ID), the lab its own (images.lab).
defaults.networkagentagent | bake | locked | open | nat | nonenew sandboxesdoz create --networkThe network of a new sandbox whose image has no agent: agent, bake, locked, open (proxied presets), nat or none.
defaults.nat_subnet""IPv4 subnet, a.b.c.d/nn ("" = a free one)new sandboxes$DOZ_SUBNET, doz create --subnetThe vmnet subnet of a new --network nat sandbox.
defaults.imagelablab | claude-code | pi | codex, or an agent or tool's id (doz try lists them)new sandboxesdoz create --imageThe image of a new sandbox when none is named (doz up NAME, doz init, the UI's New sandbox). doz onboard writes the one you chose.
defaults.basenodenode | python | go | rust | java | ruby | dotnet | debian | ubuntu | alpinenew sandboxesdoz try --baseThe base image of this store: every tool you try (Quick try, doz try, the setup's first sandbox) is added to it as a layer when no base is named, so a second tool downloads nothing more. doz onboard sets it. New sandbox and doz_project.yaml keep a tool's own default base unless you choose one.
defaults.projects_dir~/doz-workspacespath ("" = automatic)new sandboxes—The base folder of new sandboxes' folders: the web UI's New sandbox and Quick add, and doz new, share <projects_dir>/<sandbox name> (created when missing, like any folder given with --folder). doz create is isolated unless --folder; doz init uses the folder it runs in. In the web UI, Settings › Choose… sets it with the Mac's folder picker.
defaults.accountmacmac | nonea store that hasn't chosen—The Anthropic account of a store that has not chosen one: mac (this Mac's Claude Code login) or none. doz account default decides for a store once it has.
defaults.permissionsstandardstandard | locked | open, or permissions like +web,-error-reports (doz net permissions)new sandboxesdoz create --allow / --networkWhat a new sandbox's agent may do (its network, as permissions — doz net permissions): standard (talk to its AI model, update itself, install system packages and its base's language packages, use GitHub, send error reports), locked (its AI model only), open (everything, the web included), or standard with changes like +web,-error-reports. Stored by name: a Dozable update that adds a host to a permission reaches every sandbox that has it.
defaults.githuboffoff | read | pushnew sandboxesdoz create --github off|read|push"Use GitHub as you" for new sandboxes: off, read (git and gh signed in as you on GitHub, read-only) or push (also push and make changes) — the Access step's choice (doz access set --github). A sandbox can differ: doz create --github, github: in doz_project.yaml, or its permissions later (doz net allow|deny NAME github:as-you). Proxied sandboxes only.

[agent]#

keydefaultvaluesappliesoverridden bywhat it does
agent.prompttruebooleannext session—Tell the agent where it runs: a short facts block appended to its system prompt (the sandbox, its /workspace share, the network, credentials) and the doz skill, written at every session start. Your own template: agent-prompt.md beside this file.
agent.pre_trusttruebooleannext session$DOZ_AGENT_PRE_TRUSTPre-trust: before a Claude Code agent with No fence starts in a folder, mark that folder trusted for Claude in your ~/.claude.json (only that folder's trust, nothing else of the file), when whoever starts it may start it so — you, an agent that runs as you, or a trusted agent. Each is recorded in Done for you. Off: Dozable never writes ~/.claude.json; such an agent waits at Claude's question for you (or an answer: doz worker answer). Fenced agents and sandboxes are never asked. Applies at the next agent start.
agent.historykeepkeep | agent-defaultnext start or wake—Conversation history in sandboxes. keep: Dozable asks each agent to keep its conversations — an agent that deletes old ones by itself (Claude Code after 30 days) is told not to, by a key in its own settings file, set only where you have not set one. agent-default: each agent follows its own rule (Dozable takes back only a key that still holds its own value). A value you set in the agent's own settings file is always kept. Each agent's recipe can choose its own (Recipes), and so can a project (history: in doz_project.yaml) or one sandbox (doz config set --sandbox NAME history VALUE). Set once in each sandbox when it next starts or wakes; doz config show --agent ID shows what each value does in that agent.
agent.move_timeout60integer 1–86400next commanddoz agent new --timeoutHow long doz agent new NAME --from VENDOR:ID waits, in seconds, for the program it moves into Dozable to finish its turn. A turn is never cut: when the time runs out the move is cancelled with nothing done. --timeout decides for one move.

[updates]#

keydefaultvaluesappliesoverridden bywhat it does
updates.modenotifyoff | notify | autonext command$DOZ_UPDATESUpdates: notify (at most once a day, and when doz ui opens, look for a newer doz and say how to upgrade — one line on a terminal, a banner on the dashboard), auto (also install it: brew upgrade, or the signed download for a tarball install — only while no sandbox runs and no session is attached, else it notifies; then: restart to apply, doz daemon restart), or off (never look). Never a downgrade; a feed that does not verify is ignored.
updates.channelstablestable | beta | canarynext command—Which releases you are offered: stable, beta (beta and stable) or canary (every build, first). A Homebrew install's own formula (doz, doz-beta, doz-canary) decides while this is not set; doz upgrade --channel switches both.

[telemetry]#

keydefaultvaluesappliesoverridden bywhat it does
telemetry.send_anonymous_usage_statstruebooleannext command$DOZ_SEND_ANONYMOUS_USAGE_STATS, --no-send-anonymous-usage-stats / --send-anonymous-usage-statsOfficial builds send anonymous usage statistics: at most once a day, counts and ranges about how Dozable itself is used (commands by name, failures by exit code, which agents, bases and network presets new sandboxes use, setup sizes as ranges, start and wake times rounded to 50 ms, how long sandboxes ran and slept as ranges, which features were used, this Mac's macOS version, chip family, memory and cores as ranges) with a random install id — never a name, path, host, command argument, file or anything from inside a sandbox. false (or DO_NOT_TRACK=1, or --no-send-anonymous-usage-stats on one command) sends nothing and records nothing. doz telemetry show prints exactly what would be sent. Builds from the open-source repository send nothing whatever this says.

[resources]#

keydefaultvaluesappliesoverridden bywhat it does
resources.clean_unused_days30integer 1–3650at once—Clean up (the Resources page, doz resources clean) removes a baked image no sandbox was created from in this many days; it is baked again when next needed.

[sandbox]#

keydefaultvaluesappliesoverridden bywhat it does
sandbox.agent_sudotruebooleannext sessiondoz create --no-agent-sudo / --agent-sudoThe agent (the image's user in claude-code and pi sandboxes) has passwordless sudo inside its sandbox, so it can install system packages (sudo apt-get install …). The Sandbox (its own virtual machine), the network policy and the absent credentials are the boundary — root inside reaches no more than the agent does. Applied at every boot and every agent session start (no image is rebuilt); a sandbox's own choice (doz create --no-agent-sudo, agent_sudo in doz_project.yaml) wins over this.
sandbox.timezonemacmac, or a time zone like Australia/Sydneynext start or wake—The sandboxes' time zone: mac (this Mac's, read again at every boot and wake — a laptop that travels while a sandbox sleeps is followed) or a zone like Australia/Sydney. Written to the guest's /etc/localtime; the agent's facts say it.
sandbox.clipboardwritewrite | offat oncedoz create --clipboard write|offThe clipboard bridge: a program in a sandbox that copies (OSC 52 — Claude Code, vim, tmux) puts the text on this Mac's clipboard, and every copy shows a notice (SANDBOX copied N chars) in doz attach and doz ui. At most 1 MiB a copy and 10 copies in 10 s. A sandbox can never READ the Mac clipboard. The risk: an agent could put a command there for you to paste — off turns the bridge off (copies are dropped, and said). A sandbox's own choice (doz config set --sandbox NAME, clipboard in doz_project.yaml) wins over this.
sandbox.browser_bridgeonon | offat oncedoz create --browser-bridge on|offThe browser bridge: xdg-open (and $BROWSER, open, sensible-browser) in a sandbox opens an http or https URL in this Mac's default browser, with a notice every time (at most 3 in 10 s). A sign-in whose redirect is the sandbox's localhost (Claude Code's /login) gets that port forwarded from the Mac into the sandbox for up to 10 minutes, so the login completes. Never file: or other schemes, never the Mac's own localhost. off: nothing opens (said). A sandbox's own choice (doz config set --sandbox NAME, browser_bridge in doz_project.yaml) wins over this.
sandbox.open_filesonon | offat oncedoz create --open-files on|offOpen the shared folder's files on this Mac: xdg-open PATH (and open PATH, doz-open PATH) in a sandbox opens a document from its /workspace in the Mac's default app — an html page in your browser, markdown in your editor — or a folder (the shared folder itself, open .) in the Finder, and doz-open --reveal PATH shows a file selected in its folder; a notice every time (at most 3 in 10 s). Only the shared folder's own files (a link or .. that leads out is refused), only documents (html, md, pdf, images, txt, csv, json, yaml, xml…) — never an app or package folder, a script, an installer or an executable. An isolated sandbox has no file to open. An app other than the default only when it is in bridges.open_apps. off: nothing opens (said). A sandbox's own choice (doz config set --sandbox NAME, open_files in doz_project.yaml) wins over this.
sandbox.ssh_agentoffoff | onat oncedoz create --ssh-agent on|offForward this Mac's SSH agent into the sandbox (proxied sandboxes): ssh and git over SSH there can ask your agent to sign — your keys never enter the sandbox — and only github.com:22 is reachable over SSH. A notice on first use. While it is on, the agent can authenticate as you to github.com. A sandbox's own choice (doz create --ssh-agent on, ssh_agent in doz_project.yaml, doz config set --sandbox NAME) wins over this.
sandbox.dotfiles""a git repository's https:// URL, or a folder on this Mac that is one ("" = none)new sandboxesdoz create --dotfiles URL|PATH|noneYour dotfiles in every new sandbox: a git repository (https://github.com/you/dotfiles — fetched on this Mac with its own git login, so a private one works and no credential enters the sandbox) or a folder on this Mac that is a git repository. A sandbox gets the commit it was made at, recorded; doz dotfiles NAME --update moves it on. At its first start, as its user: the repository's install script runs (the first of install.sh, install, bootstrap.sh, bootstrap, script/bootstrap, setup.sh, setup, script/setup — at most 5 minutes, its output in the boot log), or, with none, every dotfile and dot-folder at the top of the repository is linked into the home — never over a file that is there (only over the image's stock copy, kept as NAME.doz-stock), never over Dozable's own (the agents' settings and launchers). doz asks once per repository and commit before it is applied — it is code that runs in the sandbox. "" (the default): none. A sandbox's own choice (doz create --dotfiles, dotfiles in doz_project.yaml) wins over this.
sandbox.audiooffoff | speakers | onnew sandboxesdoz create --sound off|speakers|on (--audio = on)Sound in new sandboxes: off, speakers (this Mac's speakers) or on (its speakers and microphone). A sandbox with sound has a sound device and boots Dozable's sound kernel, so it is chosen at create; its own choice (doz create --sound, New sandbox › Sound) wins over this. Later a sandbox can move between speakers and on (doz config set --sandbox NAME sandbox.audio on), from its next start. It records from the Mac's microphone only if macOS allowed it before the sandbox started (else silence); sandbox.microphone_ask says when doz asks.
sandbox.microphone_askfirst_recordingfirst_recording | first_startnext start or wake—When doz asks macOS about the microphone for a sandbox whose sound is on, while macOS has no answer: first_recording (when a program in it first records — that recording is silent; allow, then Shut Down and Start the sandbox) or first_start (when it starts, waiting for your answer).

[sessions]#

keydefaultvaluesappliesoverridden bywhat it does
sessions.tmuxfalsebooleannext sessiondoz create --tmux / --no-tmuxRun each new session inside tmux (within Dozable's own session holder, so saved screens, sleep and wake, browser terminals and Ctrl-] detach keep working): tmux's windows, panes and copy mode, its status bar and prefix key (Ctrl-b). tmux takes the mouse, and the kitty keyboard protocol and modifyOtherKeys do not fully pass through it; the session's exit code is tmux's. It is Dozable's own tmux 3.8, copied into the sandbox on every base (the image's tmux is left as it is), so tmux reports your terminal's light or dark theme to the programs in it; a session already running in the image's tmux keeps it until it ends. A sandbox's own choice (doz create --tmux, tmux: true in doz_project.yaml, doz config set --sandbox) wins over this.

[bridges]#

keydefaultvaluesappliesoverridden bywhat it does
bridges.open_apps""app names, comma-separated, like "Typora, Visual Studio Code" ("" = none)at once—The Mac apps a sandbox may name to open a file of its folder in (doz-open --app NAME FILE, or open -a NAME FILE in the sandbox), comma-separated — e.g. "Typora, Visual Studio Code". Empty: a file opens only in its default app, and naming an app is refused. Never a path, only an app's name. For every sandbox.

[folder]#

keydefaultvaluesappliesoverridden bywhat it does
folder.ignore_modelocklock | hidenext start or wakedoz create --ignore-mode lock|hideWhat a .dozignore at the root of a sandbox's folder does to the paths it lists (Docker's .dockerignore syntax): lock (they stay listed, shown with no permissions, and every read, write, rename or delete of them is refused — so a program that bumps into one by name sees why) or hide (they are not there at all). A .dozreadonly beside it (same syntax) makes paths visible but read-only; doz_project.yaml, .git/hooks and the two rule files are read-only too. Without either file the folder is shared as it is. A convenience mask, not a security boundary: root in the sandbox can get around it. A sandbox's own choice (doz create --ignore-mode, ignore_mode in doz_project.yaml, doz config set --sandbox NAME) wins over this.
folder.viewonon | offnext-startdoz create --folder-view on|offHow a sandbox's folder reaches it. on: through Dozable's live view of the folder, so a program working in /workspace (an agent, a shell) keeps its folder when the sandbox wakes from hibernation or after a daemon restart. The view costs a little: the first scan of a big folder after a start or a wake is slower (e.g. git status on a large repository, or find), later ones are about as fast as without it. off: the folder is shared directly (a little faster) — but a program working inside /workspace loses its folder at such a wake and must be restarted (Codex says "invalid cwd"). A folder with a .dozignore or .dozreadonly always uses the view. Changes take effect at the sandbox's next start. A sandbox's own choice (doz create --folder-view, folder_view in doz_project.yaml, doz config set --sandbox NAME) wins over this.

[github]#

keydefaultvaluesappliesoverridden bywhat it does
github.credentialsghgh | key | offat once—Where "Use GitHub as you" (a permission, off by default) gets your GitHub login: gh (this Mac's gh login, read when used — gh auth token — and kept in memory a few minutes, never written anywhere; gh auth logout revokes it), key (only a token you give a sandbox with doz key set NAME --github — a fine-grained token limited to some repositories is best), or off (never, even with the permission on). The sandbox only ever sees a placeholder; Dozable's proxy puts the real token in on the way to GitHub.

[images.lab]#

keydefaultvaluesappliesoverridden bywhat it does
images.lab.memory_mib1024integer 256–262144new sandboxesdoz create --memoryMemory (MiB) of a new lab sandbox (a saved disk follows the image it was saved from).
images.lab.networkbakeagent | bake | locked | open | nat | nonenew sandboxesdoz create --networkThe network of a new lab sandbox: agent, bake, locked, open (proxied presets), nat or none.

[kernel]#

keydefaultvaluesappliesoverridden bywhat it does
kernel.path""path ("" = automatic)new sandboxes$DOZ_KERNELAn explicit Linux kernel for new sandboxes ("": the pinned kernel, fetched into the cache).
kernel.cache""path ("" = automatic)new sandboxes$DOZ_KERNEL_CACHEWhere the pinned kernel is cached ("": the store's own); share one between stores.

[recipes.VENDOR.PRODUCT] — every recipe's own#

Every recipe's agent has these, each recipe with its own defaults (doz config show --agent ID lists one; the descriptions are Claude Code's). A recipe may declare more of its own: Codex's keep_alive.

keydefaultvaluesappliesoverridden bywhat it does
recipes.VENDOR.PRODUCT.versionlatestlatest, or an exact version like 2.1.227new sandboxesdoz create --agent claude-code@VERSIONThe Claude Code a new sandbox of this recipe gets (and every base's baked image of it): latest (looked up when its image is baked, then installed at that exact version, integrity-checked; a newer one is only said — doz image bake rebuilds when you choose), or an exact version like 2.1.227. A sandbox keeps the version it was made with; doz reset NAME moves it to the current one.
recipes.VENDOR.PRODUCT.approvalsskipskip | asknext session-e DOZ_CLAUDE_PERMISSIONS=… on run/exec, --approvals on createClaude Code's own approval prompts: skip them (the sandbox is the boundary) or ask, as on a Mac. A sandbox (doz config set --sandbox NAME approvals ask) or its project (approvals: in doz_project.yaml) can choose its own.
recipes.VENDOR.PRODUCT.memory_mib2048integer 256–262144new sandboxesdoz create --memoryMemory (MiB) of a new sandbox of this recipe (a saved disk follows the image it was saved from).
recipes.VENDOR.PRODUCT.networkagentagent | bake | locked | open | nat | nonenew sandboxesdoz create --networkThe network of a new sandbox of this recipe: agent, bake, locked, open (proxied presets), nat or none.
recipes.VENDOR.PRODUCT.historyfollowfollow | keep | agent-defaultnext start or wake—Claude Code's conversation history: follow (agent.history, Dozable's choice), keep, or agent-default. keep: cleanupPeriodDays = 36500 in ~/.claude/settings.json, only where it is not set. agent-default: that key is taken back where it still holds Dozable's value — Claude Code deletes conversations older than 30 days.
recipes.VENDOR.PRODUCT.mac_configfollowfollow | private | sharednext sessiondoz run @mac --agent-configClaude Code's settings folder in a fenced session on this Mac: follow (mac.agent_config), private (the session's own ~/.claude — your instructions and skills read-only, settings copied from a short list) or shared (your own ~/.claude: less isolated). doz run @mac --agent-config decides for one session.
recipes.openai.codex.keep_alivefalsebooleanat once—Codex sandboxes on the account mac (this Mac's own Codex login): when its access token is about to expire and a sandbox used it in the last 15 minutes, run this Mac's codex doctor once — no model call — which renews the login the way Codex itself does. Off: the login renews only while Codex (the app or a codex session) runs on this Mac; when it has expired, Codex in a sandbox says so.

The names before 0.37.34 (still read, and taken by doz config)#

old namenow
images.ID_versionrecipes.VENDOR.PRODUCT.version
ID.permissionsrecipes.VENDOR.PRODUCT.approvals
images.ID.memory_mib, images.ID.networkrecipes.VENDOR.PRODUCT.memory_mib, .network (Claude Code's, images.claude-code.memory_mib and images.claude-code.network, also seed defaults.memory_mib, defaults.network)
images.claude_code_versionrecipes.anthropic.claude-code.version
claude.permissionsrecipes.anthropic.claude-code.approvals
images.pi_versionrecipes.earendil-works.pi.version
images.codex_versionrecipes.openai.codex.version
codex.permissionsrecipes.openai.codex.approvals
codex.keep_aliverecipes.openai.codex.keep_alive

daemon.always_on and daemon.idle_timeout_minutes decide together. They are listed side by side, and each description names the other:

daemon.always_ondaemon.idle_timeout_minutesthe daemon
on (the default)anystays running; the timeout is ignored
offN greater than 0 (the default is 5)exits after N minutes with nothing running
off0never exits by idling — warned

The last row earns a warning in doz config show, after doz config set or unset of either setting, under both rows of the Settings page, in doz daemon status and in doz doctor: Warning: daemon.always_on is off and daemon.idle_timeout_minutes is 0, so the daemon will not switch off by idling. Once it is stopped it does not come back until the next doz command runs. A daemon started where the login keychain is locked (over ssh) is never kept running whatever the two say: it exits after 5 minutes with nothing running.

daemon.login_item and the menu bar app. When the menu bar app's Start at Login is on, the app holds the login item: it sets daemon.login_item to on, and doz removes its own plist from ~/Library/LaunchAgents and adds none while the app's item is there — doz daemon login-item (and doz daemon status --json's loginItem.owner, app) says the menu bar app starts the daemon at login. Turning Start at Login off sets it to off. With the app removed, its item counts as gone: doz daemon login-item on adds doz's own again. (The menu bar app.)

Environment variables#

variableoverrides
DOZ_STOREstore.paththe store folder
DOZ_PROGRESSui.progressanimated or plain progress
DOZ_COLORui.colorauto, always or never colour in the CLI
DOZ_DAEMON_ALWAYS_ONdaemon.always_onkeep the daemon running with nothing open (on/off)
DOZ_DAEMON_IDLEdaemon.idle_timeout_minutesdaemon idle timeout, minutes (fractions allowed; only with daemon.always_on off)
DOZ_SCREEN_CAPTUREdaemon.screen_capture_minuteshow often screens are saved
DOZ_BOOT_LOGSdaemon.boot_logs_keptboots kept per sandbox
DOZ_SUBNETdefaults.nat_subnetsubnet of a new nat sandbox
DOZ_KERNEL · DOZ_KERNEL_CACHEkernel.path · kernel.cachean explicit kernel · a shared kernel cache
XDG_CONFIG_HOME—where doz/doz.toml is (default ~/.config)
NO_COLOR—no colour and plain progress, unless --color always (or ui.color = "always") asks for it

Edit this page on GitHub · Chapter 15 of 50