Logo

Command Palette

Search for a command to run...

containers stop

Stops a specific container on a given stack by container ID or name (supports partial IDs and names).

$ cx containers stop --stack <application name> <container ID>|<container name>

Options

ArgumentRequired?DefaultDescription
--stack, -s <application name>yesName of your application
<container ID>either\orThe ID of the container to stop
<container name>either\orThe name of the container to stop

Examples

$ cx containers stop -s mystack 2844142cbfc064123777b6be765b3914e43a9e083
$ cx containers stop -s mystack 2844142c
$ cx containers stop -s mystack web.pro-active-quick-witted-dinosaur
$ cx containers stop -s mystack web