Stop one or more running containers
Stop one or more running containers in Pouchd. Waiting the given number of seconds before forcefully killing the container. This is useful when you wish to stop a container. And Pouchd will stop this running container and release the resource. The container that you stopped will be terminated.
pouch stop [OPTIONS] CONTAINER [CONTAINER...]
$ pouch ps
Name ID Status Image Runtime
foo 71b9c1 Running docker.io/library/busybox:latest runc
$ pouch stop foo
$ pouch ps -a
Name ID Status Image Runtime
foo 71b9c1 Stopped docker.io/library/busybox:latest runc
-h, --help help for stop
-t, --time int Seconds to wait for stop before killing it (default 10)
-D, --debug Switch client log level to DEBUG mode
-H, --host string Specify connecting address of Pouch CLI (default "unix:///var/run/pouchd.sock")
--tlscacert string Specify CA file of TLS
--tlscert string Specify cert file of TLS
--tlskey string Specify key file of TLS
--tlsverify Use TLS and verify remote
- pouch - An efficient container engine