Skip to Content
Noodle Docs

CLI

Find Noodle commands for setup, diagnostics, Docker commands, logs and runtime status.

noodle manages the runtime and passes Docker commands through to the Docker CLI. Run noodle help or a command's help for its full options.

CommandWhat it does
`noodle setup [--use--no-use] [--tools] [--path]`
noodle uninstall [--delete-data --yes]Removes Noodle-owned setup items; data is kept unless deletion is selected.
noodle startStarts the daemon.
noodle stopStops the daemon.
noodle status [--json] or noodle status --startupReports daemon status or Docker API, VM and guest readiness.
noodle doctor [--fix]Reports or repairs stale installation items.
noodle tools install [--no-link] [name...], status, removeManages pinned Docker clients and BuildKit.
noodle model (alias models)Runs catalog, pull, import, list, run, serve, stop, status, endpoint, rm, logs, location, keep-alive, key and network. location [<folder>] or location --reset sets where models install, keep-alive [<duration>] or keep-alive --reset saves how long a model stays loaded, key [--rotate] prints or replaces the API key, and network [on], network off or network --json lets other devices use your models. GGUF run and serve accept --keep-alive; serve also accepts --port and --workloads.
noodle proxy [--json] or noodle proxy set --stdinReads or changes the registry proxy and optional new-container environment.
noodle import SOURCE [--list] [--all] [--images] [--volumes] [--containers] [--only names] [--on-conflict skip|overwrite|rename] [--retries N] [--dry-run]Copies from a Docker context, Unix socket or running podman machine. Stop volume writers before copying.
noodle diagnostics [--list] [-o file.tar.gz]Lists or writes a scrubbed local diagnostic archive.
noodle agentExperimental disposable coding sandbox: build, run, list, show, diff, apply and rm. Run noodle agent help for options.
noodle names [--json] or noodle names ca|trust|untrust [localhost|noodle.local]Lists local names or manages their local CA.
noodle dev [name] [--] command [args...]Runs a host development server at a named local URL.
noodle link CONTAINER[:PORT] [--yes] [--allow-privileged] [--json], list [--json], stop ID|--allManages public HTTPS links.
noodle finder mount [mountpoint], unmount, statusOpens a read-only Finder view of Noodle data.
noodle share list, add FOLDER, remove FOLDERManages approved absolute folders for file binds.
noodle machineManages Linux machines: create, list, start, stop, restart, shell, delete and status. See Machines and raw VMs.
noodle kubernetes (alias k8s)Manages the local k3s cluster: start, stop, status, delete, kubeconfig and use-context.
noodle podManages pods with create, ps, inspect, start, stop, restart, rm, logs, top and run.
noodle kube play FILE [--down] or noodle kube generate NAMERuns or generates local YAML workloads.
noodle update check|install|rollback|statusManages signed app updates.
noodle migrate-disk [--dry-run]Backs up and converts an old non-journaled data disk.
noodle builds list [--json], inspect ID, logs ID, rm ID|--allReads or removes build history.
noodle image layers IMAGE [--json]Shows image layers. Use docker --context noodle image for other image commands.
noodle scan IMAGE [--json] [--fail-on SEVERITY], --history [IMAGE], --clear-cacheScans images or manages scan history.
noodle sbom IMAGE [--output FILE]Generates an SBOM.
noodle container edit NAME or noodle container ports NAME [--json]Edits container settings or lists ports. Use docker --context noodle container for other container commands.
noodle logs [engine|linux|privileged] [-n N] [--grep text] [-f] [--raw]Reads Noodle component logs. Use docker --context noodle logs NAME for container logs. --raw disables secret redaction.
noodle bench [--run [IMAGE]]Times the API and optionally docker run.
noodle debug boot-console [--disable] or noodle debug run ROOTFS COMMAND [args...]Captures the boot console or runs a command in a throwaway VM.
noodle versionPrints the version.
noodle helpPrints usage.

Set VM CPUs and memory in the app, or in ~/.noodle/vm.json with cpus and memory_mib. NOODLE_HOME changes that directory; NOODLE_CPUS and NOODLE_MEMORY_MIB override the file. Set "host_loopback": false in the same file to disable the relay at the next daemon start.

Docker commands

Noodle does not wrap docker. An unknown noodle command points you to docker --context noodle. If you selected Noodle as the default context with noodle setup --use, plain docker commands also target it:

docker --context noodle run -d -p 8080:80 nginx
docker run -d -p 8080:80 nginx

The socket path is printed by noodle status.

Container logs and the Mac

Log rotation follows Docker. --log-opt max-size=10k --log-opt max-file=3 keeps at most three files per container, docker logs reads them in order, --tail and --follow work across a rotation, and bad values are refused with exit 125. Without the options nothing is rotated. The local driver takes the same options.

Inside an ordinary container on a non-internal network, host.docker.internal and --add-host name:host-gateway reach Mac loopback TCP services through a relay by default. Noodle's own loopback listeners are protected. Internal networks, UDP and privileged containers in the workload VM do not use the relay. Setting host_loopback to false restores NAT-only reach.

Status for scripts

noodle status --json prints one JSON object with schemaVersion: 1 and never starts the daemon or the VM.

  • daemon.reachable is true when the socket answers /_ping. It does not say whether the VM is running.
  • paths.data, paths.socket and paths.launchAgent are the resolved paths.
  • tools.docker.available and tools.docker.path report whether a Docker CLI was found.

It exits 0 when the socket answers, 3 when it does not, and 1 on an encoding error. An unreachable daemon is still a valid snapshot.

On this page