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.
Code
kraft cloud compose up [FLAGS] [COMPONENT]
Examples
Code
# 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
Code
-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
Code
--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
Aliases
The kraft cloud compose up command can also be run as: