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

More flags for crictl ps. #179

Closed
4 of 5 tasks
Random-Liu opened this issue Nov 6, 2017 · 4 comments
Closed
4 of 5 tasks

More flags for crictl ps. #179

Random-Liu opened this issue Nov 6, 2017 · 4 comments

Comments

@Random-Liu
Copy link
Contributor

Random-Liu commented Nov 6, 2017

  • -a, --all: Show running containers by default, and with -a show all containers.
  • -s, --size: Show writable layer size of each container. I don't think we need virtual size now.
  • -l, --latest: Show latest created container
  • -n, --last int: Show n last created containers.
  • --no-trunc: Not truncate id.
@Random-Liu
Copy link
Contributor Author

And we could consider add similar flags for sandbox.

@weiwei04
Copy link

weiwei04 commented Nov 6, 2017

consider return sorted crictl ps result like docker ps?

@Random-Liu
Copy link
Contributor Author

@weiwei04 The result is already sorted. #171

@Random-Liu
Copy link
Contributor Author

Random-Liu commented Nov 28, 2017

  • --no-trunc: For crictl images.
  • -l: For crictl sandboxes.
  • -n: For crictl sandboxes
  • --no-trunc: For crictl sandboxes.

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

No branches or pull requests

2 participants