Logo

Command Palette

Search for a command to run...

services stop

Stops all the containers for the given service. The list of available services can be obtained through the list services command. If <server name> is provided it will query only the specified server.

$ cx services stop --stack <application name> [--server <server name>] <service name>

Options

ArgumentRequired?DefaultDescription
--stack, -s <application name>yesName of the application
--server <server name>noThe name of a server to query
<service name>yesThe service to stop

Examples

$ cx services stop -s mystack my_web_service
$ cx services stop -s mystack a_backend_service
$ cx services stop -s mystack --server my_server my_web_service