lxc-stop --version (return code: 0)
2.1.0
lxc-stop --help (return code: 0)
Usage: lxc-stop --name=NAME
lxc-stop stops a container with the identifier NAME
Options :
-n, --name=NAME NAME of the container
-r, --reboot reboot the container
-W, --nowait don't wait for shutdown or reboot to complete
-t, --timeout=T wait T seconds before hard-stopping
-k, --kill kill container rather than request clean shutdown
--nolock Avoid using API locks
--nokill Only request clean shutdown, don't force kill after timeout
--rcfile=FILE Load configuration file FILE
Common options :
-o, --logfile=FILE Output log to FILE instead of stderr
-l, --logpriority=LEVEL Set log priority to LEVEL
-q, --quiet Don't produce any output
-P, --lxcpath=PATH Use specified container path
-?, --help Give this help list
--usage Give a short usage message
--version Print the version number
Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.
See the lxc-stop man page for further information.