kosa8 docs

Commands / kosa8 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)