Skip to content
On this page

saya vm stop

Stop one or more stopped vm

Synopsis

Stop one or more stopped vm by id or id-prefix.

saya vm stop [OPTIONS] ID|ID-Prefix [ID|ID-Prefix...]

Examples


- stop a running vm by id
  saya vm stop 22ef4769-54a0-4717-858f-6857af10ae81
  
- stop a running vm by id prefix
  saya vm stop 22ef4769

- stop multiple running VMs
  saya vm stop 22ef4769 b293d619-6646-4598-a886-ac4d54933c2f

Options

  -h, --help   help for stop

Options inherited from parent commands

      --config string        config file (default is .saya.yaml file found in the current working directory or  $HOME/.saya or /etc/saya/.saya.yaml
      --forge string         path of the directory that holds saya runtime data(e.g. local repository, VM data, transient session data, etc)
  -l, --license-key string   license key to use saya
      --log-level string     logging level, error|warn|info|debug|trace (default "info")

SEE ALSO