Zudoku
kraft cloud compose

kraft cloud compose stop

Code
kraft cloud compose stop [FLAGS] [COMPONENT]

Examples

Code
# Stop all services in a Unikraft Cloud Compose project. $ kraft cloud compose stop # Stop the nginx service $ kraft cloud compose stop nginx

Options

Code
-d, --drain-timeout duration Timeout for the instance to stop (ms/s/m/h) -f, --force Force stop the instance(s) -h, --help help for stop -w, --wait duration Time to wait for the instance to drain all connections before it is stopped (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 stop command can also be run as:

Code
s

See Also

Last modified on