Closed lang710 closed 2 years ago
We should implement 'pouch kill' to kill one or more running containers.
Example: root@compatibility:~# pouch ps Name ID Status Created Image Runtime 3bc260 3bc260 Up 10 minutes 4 seconds ago busybox:latest runc
root@compatibility:~# pouch kill 3bc260 3bc260
root@compatibility:~# pouch ps Name ID Status Created Image Runtime
Usage pouch kill [OPTIONS] CONTAINER [CONTAINER...]
Options Name, shorthand Default Description --signal , -s KILL Signal to send to the container
Extended description You can kill a container using the container’s ID, ID-prefix, or name.
Why you need it?
We should implement 'pouch kill' to kill one or more running containers.
How it could be?
Example: root@compatibility:~# pouch ps Name ID Status Created Image Runtime 3bc260 3bc260 Up 10 minutes 4 seconds ago busybox:latest runc
root@compatibility:~# pouch kill 3bc260 3bc260
root@compatibility:~# pouch ps Name ID Status Created Image Runtime
Other related information
Usage pouch kill [OPTIONS] CONTAINER [CONTAINER...]
Options Name, shorthand Default Description --signal , -s KILL Signal to send to the container
Extended description You can kill a container using the container’s ID, ID-prefix, or name.