Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
arcbox-cli
Command-line interface for ArcBox.
Overview
This crate provides a thin command-line interface for ArcBox machine management and local integration helpers. Runtime and Docker API serving are handled by the separate arcbox-daemon binary.
Features
- Machine Management: Create and manage Linux VMs
- Runtime Migration: Import local workloads from Docker Desktop or OrbStack
- Daemon Lifecycle: Start/stop daemon process
- Docker Context Integration: Seamless switching between Docker and ArcBox
- Native Kubernetes Integration: Manage the ArcBox k3s cluster and bundled
kubectl - Boot Asset & DNS Helpers: Manage boot cache and resolver setup
Usage
# Machine (VM) operations
# Runtime migration
# Daemon management
# Docker context integration
# Native Kubernetes integration
# Development contexts are not activated globally; select one with kubectl config use-context.
# Run containers through Docker CLI
Output formats
--format is global but validated for the selected command before any command
I/O. Unsupported json or quiet combinations exit nonzero instead of
falling back to decorated text.
Read-only JSON schemas are available for doctor, top, disk usage,
boot status, boot list, setup status, machine inspect,
sandbox inspect, and, on macOS, dns status.
Disk and boot sizes use raw *_bytes fields. For read-only commands, quiet
output is limited to setup status, which prints installed, partial, or
unknown.
Status exit codes are health contracts: doctor, dns status, boot status,
and setup status exit nonzero when their report is unhealthy or incomplete.
A check that could not be run is reported as unknown rather than failed —
doctor counts it separately and setup status still exits zero, because a
login-shell probe that times out says nothing about the integration itself.
Drift the daemon repairs on its next start is likewise reported as a detail,
not as an incomplete cache: boot status says so for a runtime binary missing
its executable bit instead of asking for a re-download.
If Docker is unavailable, disk usage keeps host image facts, sets runtime
reclaimable fields to null, reports the query error, and exits nonzero.
Exit status
0: command succeeded.1: anabctloperation or daemon connection failed.2: command-line arguments were invalid.- Remote commands (
machine exec,sandbox run/exec, andclaude) propagate the command's exit status; sandbox signal exits use the shell convention128 + signal.
Configuration
Socket path resolution order:
ARCBOX_SOCKETenvironment variable- The active profile or
ARCBOX_DATA_DIRlayout (<data-dir>/run/docker.sock)
The production default is ~/.arcbox/run/docker.sock. DOCKER_HOST is
honored by the Docker CLI, not by ArcBox's direct socket clients.
License
MIT OR Apache-2.0