Skip to content

kraft cloud compose stop

kraft cloud compose stop [FLAGS] [COMPONENT]

Examples

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

Options

-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

--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:

s

See Also