microagent images
microagent images pull <image> [--state-dir <dir>]microagent images list [--state-dir <dir>]microagent images tag <source> <target> [--state-dir <dir>]microagent images rm <image> [--delete] [--yes] [--state-dir <dir>]microagent images prune [--delete] [--yes] [--state-dir <dir>]images reads the local image index. Successful workspace rootfs
builds and images pull record the source image reference, resolved digest,
platform, rootfs path, size, and last-used time.
Commands
Section titled “Commands”| Command | Description |
|---|---|
pull | Build and record a reusable local rootfs from an OCI image |
list | Show locally recorded images |
tag | Add another local name for an existing image record |
rm | Remove a local image record, optionally deleting an unshared baseline |
prune | Remove stale records, and optionally delete reusable local rootfs baselines |
By default, prune updates only the image index by removing records whose
rootfs path no longer exists. With --delete, it also deletes reusable rootfs
baselines under the local image store and removes every record pointing to
those files after confirmation. It does not delete workspace-owned rootfs files.
tag resolves <source> against the recorded image reference, resolved
reference, or digest. It creates another index record pointing at the same
local rootfs path.
rm resolves <image> the same way. With --delete, it asks for confirmation
and deletes a reusable image-store rootfs only when no remaining image record
points to that file.
For clean workspace baselines, create reuses a pulled or tagged image record
when the workspace has no setup commands, entrypoint, env overrides, or
attached disks. Workspaces that need guest config are rebuilt from the source
OCI image so their init config is baked into the rootfs.
Pull flags
Section titled “Pull flags”| Flag | Description |
|---|---|
--arch <arch> | Target architecture |
--size-mib <MiB> | Rootfs image size |
--mke2fs <path> | mke2fs binary path |
--guest-init <path> | Guest init binary path |
Prune flags
Section titled “Prune flags”| Flag | Description |
|---|---|
--delete | Delete reusable image-store rootfs files and their records |
--yes, -y | Confirm deletion without prompting |
Remove flags
Section titled “Remove flags”| Flag | Description |
|---|---|
--delete | Delete the reusable image-store rootfs when no kept record still uses it |
--yes, -y | Confirm deletion without prompting |
Examples
Section titled “Examples”microagent images pull docker.io/library/ubuntu:24.04microagent images listmicroagent images tag sha256:abc local/ubuntu:baselinemicroagent images rm local/ubuntu:baselinemicroagent create research --image local/ubuntu:baselinemicroagent --json images prunemicroagent --json images prune --delete --yes