VM and runtime settings
Configure CPU, memory, disks, the guest user, Apple runtime timeouts, and experimental Core AI accelerators.
vm section
VM resource allocation.
| Field | Type | Default | Description |
|---|---|---|---|
vcpu_count |
integer | 2 |
Number of vCPUs for new instances. Must be > 0. Overridable with --vcpus on setup and up. Change an existing instance with iso resize --vcpus. |
mem_size_mib |
integer | 4096 |
Memory in MiB for new instances. Must be >= 128. Overridable with --mem on setup and up. Change an existing instance with iso resize --mem. |
template_size_gib |
integer | 8 |
Template rootfs disk size in GiB. Must be > 0. Overridable with --template-size on setup. |
The guest kernel is selected with apple_container.kernel.
Guest user
The guest VM runs as an unprivileged account, ubuntu (uid 1000) by default. Override the username at setup time with iso setup --guest-user <name>:
iso setup --guest-user vscode
The name is validated against the POSIX-portable pattern [a-z_][a-z0-9_-]{0,31}; root is rejected because isolate assumes an unprivileged uid-1000 account.
The guest user is baked into the image at setup time and immutable for the image’s lifetime — it is persisted in the image’s template-config.json, and up / start / shell / exec read it back from there. To change it, destroy and recreate the image: iso destroy && iso setup --guest-user <name>.
devcontainer remoteUser
When a workspace’s devcontainer.json declares a remoteUser (e.g. vscode for the Microsoft devcontainer base images), the handling depends on the stage:
- At
iso setup, a validremoteUserbecomes the image’s guest user unless--guest-useralready pins one (the CLI flag wins, and the override is reported). - At
iso up/iso start, the guest user is already baked in. If the file’sremoteUsermatches the image’s persisted user, it is applied; if it differs, isolate reports the mismatch, skips forwardingcontainerEnv(its values often reference a/home/<remoteUser>/...path that doesn’t exist on disk), and points you atiso destroy && iso setup --guest-user <remoteUser>to switch.
See Devcontainer support for the full translation table.
Guest PATH
Every guest SSH session — login, non-login, and exec — has the guest user’s ~/.local/bin on PATH. isolate prepends it to PATH in /etc/environment, which pam_env applies to all sessions. This is where the Claude Code installer places its per-user claude binary.
apple_container section
See Apple sandbox configuration for how each value is used. Unknown keys are rejected.
| Field | Type | Default | Description |
|---|---|---|---|
binary |
string (absolute path) | search order in backends.md | iso-sandbox runtime binary. |
builder |
string (absolute path) | search order in backends.md | container binary used only to build images. |
kernel |
string (absolute path) | the kernel stock Apple container installs |
Guest kernel; must be one the runtime pins. |
desktop_kernel |
string (absolute path) | vmlinux-desktop beside iso-sandbox, when present |
Kernel for instances of desktop images; must be a desktop kernel the runtime pins. iso setup installs it beside kernel: a configured one on every setup, the default only when setting up a desktop image. |
probe_timeout_seconds |
integer | 10 |
version, inspect, list. |
operation_timeout_seconds |
integer | 60 |
Resource changes, deletes, guest commands. |
create_timeout_seconds |
integer | 600 |
Create, grow, commit, restore, init, maintenance install. |
boot_timeout_seconds |
integer | 120 |
Boot to SSH-ready. |
stop_timeout_seconds |
integer | 90 |
Clean guest shutdown. |
build_timeout_seconds |
integer | 3600 |
Image build; setup --builder-timeout overrides. |
Each timeout must be between 1 and 86400 seconds.
coreai
{ "coreai": { "accelerators": ["gpu", "neural_engine"], "acknowledge_reduced_host_security": true } }
Experimental; weakens the host. Gives a macOS guest the host’s GPU
and/or Neural Engine for Core AI through private Virtualization.framework
devices. accelerators is a non-empty list of "gpu" and
"neural_engine" without repeats; with it,
acknowledge_reduced_host_security must be true, because the private
entitlement those devices need loads only on a host running with AMFI
relaxed. An empty object, or one without accelerators, is off; null
and unknown members are errors.
With coreai set, iso runs the unreleased iso-sandbox-coreai build
(scripts/build-iso-sandbox.sh --experimental-coreai; apple_container.binary
still overrides the path), refuses Linux images, and refuses a macOS image
whose template was not built with iso setup --guest macos --coreai. The
setting is fixed when the instance is created. It is reported as a
relaxation by iso policy effective. See coreai.md.