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

CLI / up

kosa8 up

Detect, build and run a project — no Dockerfile required

Usage#

kosa8 up [PATH]

kosa8 up inspects a directory, writes a Dockerfile if there isn't one, builds the image and runs it with its port published.

The generated Dockerfile is left in place: read it, edit it, commit it. An existing Dockerfile is always used as-is and never overwritten.

Options#

FlagTypeWhat it doesDefault
-d, --detachboolrun in the background—
--planboolprint the Dockerfile that would be used and stop—
-p, --portinthost port to publish (default: detected)0
-t, --tagstringimage name (default: directory name)—

Example#

  kosa8 up
  kosa8 up ./api -p 8080 -d
  kosa8 up --plan        # show what it would build and run

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