KRAFT-CLOUD-COMPOSE-UP(1)

πŸ“¦ version 0.12.16, in nixos 26.05, nixpkgs unstable

🌸 NAME 🌸

okay so this is from the KraftKit CLI(1) manual, part of the KraftKit Manual set, and the command is kraft-cloud-compose-up β€” it deploys services in a compose project to Unikraft Cloud. periodt. πŸ’…


✨ SYNOPSIS ✨

kraft cloud compose up [FLAGS] [COMPONENT]

πŸ¦‹ DESCRIPTION πŸ¦‹

Bestie, this command deploys services in a compose project to Unikraft Cloud. It takes an existing Composefile or docker-compose.yaml file and starts a bunch of services as instances on Unikraft Cloud. iconic behavior honestly.

⚠️ heads up: this is an experimental command. Not all attributes of the Composefile are supported, and not all flags are identical. so like… read the room and test stuff, okay? 😭

πŸ’… OPTIONS πŸ’…

  • -d, --detach[=false] β€” run the services in the background. set it to false by default, so no sneaky backgrounding unless you ask.
  • -h, --help[=false] β€” help for up. your lil β€œwhat is happening” button.
  • --keep-file-owners[=false] β€” keep file owners (user:group) in the rootfs. when it’s false, it sets root:root.
  • --no-build[=false] β€” do not build the services before starting them. skip the build era.
  • --rollout-wait=10s β€” time to wait before performing the rolling out action (ms/s/m/h). defaults to 10s.
  • --rootfs-type="cpio" β€” set the type of the format of the rootfs (cpio/erofs). defaults to "cpio".
  • --runtime=[] β€” alternative runtime to use when packaging a service. defaults to [].
  • -w, --wait=0s β€” timeout to wait for the instance to start (ms/s/m/h). defaults to 0s.

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

  • --allow-insecure[=false] β€” allow insecure connections to the Unikraft Cloud API. defaults to false, bestie.
  • --env-file="" β€” set the environment file. defaults to "".
  • --file="" β€” set the Compose file. defaults to "".
  • --metro="" β€” Unikraft Cloud metro location. defaults to "".
  • --token="" β€” Unikraft Cloud access token. defaults to "".

πŸ“ EXAMPLES πŸ“

# Build and deploy a Compose project on Unikraft Cloud.
$ kraft cloud compose up

# Build and deploy the nginx service from a Compose project on
# Unikraft Cloud.
$ kraft cloud compose up nginx component

# (If applicable) Set or override a runtime for a particular service
$ kraft cloud compose up --runtime app=base:latest

πŸ‘‘ SEE ALSO πŸ‘‘


πŸŽ€ HISTORY πŸŽ€

1-Jan-1980 β€” Auto generated by KraftKit. vintage. iconic. literally a historical document. 🫢


mwah πŸ’‹ this lil masterpiece comes from KraftKit Documentation, dated Jan 1980, and it’s the KraftKit CLI(1) manual β€” slay and read responsibly, bestie. 🌈✨

πŸ“¦ where this page comes from