kosa8 docs Dashboard
esc
↑ ↓ move↵ openRuns in your browser; nothing you type is sent anywhere.

CLI / build

kosa8 build

Build an image from a Dockerfile

Usage#

kosa8 build [PATH]

Builds inside the engine VM, so the build cannot reach your filesystem outside the context directory you give it. The context is sent to the VM first, so a directory full of large files it does not need makes every build slower — a .dockerignore is worth writing.

Options#

FlagTypeWhat it doesDefault
--build-argstringArraybuild-time variable KEY=VALUE[]
-f, --filestringDockerfile name within the contextDockerfile
-t, --tagstringname for the built image—

Example#

  kosa8 build -t app .
  kosa8 build -t app:dev -f Dockerfile.dev --build-arg VERSION=1.2 .

The kosa8 weekly

Agent security news, one industry deep-dive and a hands-on challenge, every Monday. Unsubscribe in one click.

© 2026 kosa8 · kosa8.com · Zero Trust cybersecurity infrastructure for AI agents · Local models served by llamay · Agent gateway: MAQPNA