Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.38 KB

pouch_stop.md

File metadata and controls

46 lines (33 loc) · 1.38 KB

pouch stop

Stop one or more running containers

Synopsis

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...]

Examples

$ 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

Options

  -h, --help       help for stop
  -t, --time int   Seconds to wait for stop before killing it (default 10)

Options inherited from parent commands

  -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

SEE ALSO

  • pouch - An efficient container engine