Skip to Content
Noodle Docs

Images and builds

Build local arm64 images, inspect build history, scan images and see which tools download on first use.

Local image builds, build history, vulnerability scans, and a list of every file Noodle fetches after install, with what triggers it.

Building and BuildKit

docker --context noodle build -t local/demo .
docker --context noodle compose build
docker buildx build --load -t local/demo .

The first native build pulls moby/buildkit v0.35.0 (linux/arm64, pinned by digest, so the pull is checked) and starts it inside the VM. It stops after the last client disconnects. The image size was not measured. Builds produce local arm64 images. DOCKER_BUILDKIT=0 selects the classic build API instead.

The first native build also downloads BuildKit support from the release asset URL sealed into the app. Its byte size and SHA-256 must match before extraction. The download and its licenses stay under ~/.noodle/tools (or $NOODLE_HOME/tools) and are checked before reuse. A corrupt or partial copy is fetched again. Run noodle tools install buildkit while online to prefetch it. Offline builds need that cached copy.

Checked: these end-to-end cases passed: build-buildkit-default, build-native-gateway-secret, build-native-parallel-sessions, build-worker-cache-reuse, build-native-cancel-retry, buildx-load, compose-local-build.

noodle builds

Every build leaves a record under ~/.noodle/builds. These commands read those files and never start the daemon.

noodle builds list
noodle builds inspect ID
noodle builds logs ID
noodle builds rm ID
noodle builds rm --all
noodle image layers IMAGE --json
  • list prints ID, STATUS, SECONDS, CACHED/TOTAL steps and tags, newest first. --json prints the records without logs.
  • inspect and logs take an exact build ID, not a path or a prefix.
  • Logs have a size limit, and secrets passed to a build are redacted in them.

Checked: these end-to-end cases passed: noodle-cli-builds, build-history-success-cache-and-layers, build-history-failure-and-redaction, build-history-retention-restart-and-sleep, build-history-native-buildx-secret-and-cache, build-history-native-failed-secret, build-history-log-limit, build-history-cancelled.

noodle scan and noodle sbom

noodle scan alpine:3.22
noodle scan myapp:latest --fail-on high --json
noodle scan --history myapp:latest
noodle scan --clear-cache
noodle sbom myapp:latest --output sbom.json
  • The image is exported from the engine to a private temporary folder and scanned there. A missing image fails before anything is downloaded.
  • scan uses Grype 0.121.3. sbom uses Syft 1.57.1 and writes CycloneDX JSON to stdout or to --output FILE.
  • Both tools download from github.com/anchore on first use. The archive's SHA-256 is checked against a pin before extraction, and the executable's hash is checked on every later run.
  • The first scan also downloads the vulnerability database. Noodle prints a notice: about 3.2 GB on disk, several minutes. scan --clear-cache deletes it.
  • --fail-on SEVERITY (negligible, low, medium, high, critical) exits 2 when any match is at or above that level. Without it the exit code stays 0 even with findings.
  • scan --history [IMAGE] prints saved results as a JSON array. Noodle keeps the latest 50.

Checked: these end-to-end cases passed: scan-unused-and-missing-image, scan-known-cve-and-fail-on, scan-sbom-cyclonedx, scan-history-offline-and-clear-cache, scan-tampered-helper-refused, scan-tampered-archive-refused.

Everything Noodle downloads after install

These downloads happen on demand. Noodle checks pinned executables and images against a checksum or digest. The vulnerability database comes from the scanner’s update service.

FileTriggerSize
Docker CLI 29.9.3 (download.docker.com)setup, when no compatible CLI is installed19,641,900 bytes
Docker Compose 5.7.1 (github.com/docker/compose)first docker compose31,976,450 bytes
Docker Buildx 0.39.0 (github.com/docker/buildx)first docker buildx or docker build65,238,512 bytes
All three tools, if usednoodle tools install prefetches them all117,369,550 bytes, about 112 MiB
BuildKit v0.35.0 imagefirst native buildnot measured
BuildKit support (the GitHub release)first native build or noodle tools installrelease-specific size in the app's on-demand.json
Grype 0.121.3, Syft 1.57.1first scan or sbomnot measured
Vulnerability databasefirst scanabout 3.2 GB on disk
k3s image v1.37.2+k3s1noodle kubernetes startnot measured
cloudflared 2026.11.0first noodle linknot measured

The Docker tools

  • Setup downloads only a missing Docker CLI, about 19.6 MB. Compose and Buildx arrive on first use. Keep using docker compose, docker buildx and docker build.
  • Files go to ~/.noodle/tools. Setup links lazy plugins into ~/.docker/cli-plugins (or $DOCKER_CONFIG/cli-plugins) only when that name is absent. Docker Desktop's links and your own binaries are preserved. A lazy plugin answers Docker's metadata request locally, then replaces its link with the real upstream binary after the first verified download.
  • A download whose SHA-256 differs from the pin is discarded and nothing is installed.
  • noodle tools status lists what is installed. noodle tools remove unlinks only the links Noodle made and deletes ~/.noodle/tools.
  • Before going offline, run noodle setup --tools to prefetch missing clients, including deferred plugins, or noodle tools install to install every pinned client. Name docker-compose or docker-buildx with tools install to fetch one. An offline first-use failure keeps the stub and prints the matching install command. NOODLE_TOOLS_MIRROR replaces the download host; the SHA-256 pins still apply.
  • noodle uninstall removes stubs and plugin links it created. Downloaded tools stay unless you remove them or delete Noodle data.

BuildKit support also lives under tools. noodle tools status lists it as buildkit when the app supplies the download manifest. noodle tools remove deletes it, as does noodle uninstall --delete-data --yes along with all other Noodle data. The BuildKit archive includes BuildKitAdapter-Licenses.txt.

Checked: tests/tools.sh passed with TOOLS_OFFLINE=1 and cached pinned binaries. Its local file:// fixture covers setup-created stubs, metadata without downloads, simultaneous first uses, stdin and environment forwarding, docker build dispatch and uninstall. Not verified: upstream network downloads were not repeated; the sizes above are those supplied for the pinned files.

On this page