Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] pouch cli supports kill function #2917

Closed
lang710 opened this issue Jun 20, 2019 · 0 comments · Fixed by #3034
Closed

[feature] pouch cli supports kill function #2917

lang710 opened this issue Jun 20, 2019 · 0 comments · Fixed by #3034

Comments

@lang710
Copy link
Contributor

lang710 commented Jun 20, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants