DocsReleasesCommunityGuidesBlog

kraft cloud compose up

Deploy services in a compose project to Unikraft Cloud

Deploy services in a compose project to Unikraft Cloud

Use an existing Composefile or docker-compose.yaml file to start a number of services as instances on Unikraft Cloud.

Note that this is an experimental command and not all attributes of the Composefile are supported nor are all flags identical.

kraft cloud compose up [FLAGS] [COMPONENT]

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

Options#

-d, --detach Run the services in the background
-h, --help help for up
--no-build Do not build the services before starting them
--rollout-wait duration Time to wait before performing rolling out action (ms/s/m/h) (default 10s)
--runtime strings Alternative runtime to use when packaging a service
-w, --wait duration Timeout to wait for the instance to start (ms/s/m/h)

Options inherited from parent commands#

--env-file string Set the environment file.
--file string Set the Compose file.
--metro string Unikraft Cloud metro location
--token string Unikraft Cloud access token

See Also#

  • kraft cloud compose: Manage Compose deployments on Unikraft Cloud
Edit this page on GitHub

Connect with the community

Feel free to ask questions, report issues, and meet new people.

Join us on Discord!
®

Getting Started

What is a unikernel?Install CLI companion toolUnikraft InternalsRoadmap

© 2025  The Unikraft Authors. All rights reserved. Documentation distributed under CC BY-NC 4.0.