ctr: add page (#4928)

translation-badges
hellojukay 2020-11-05 18:09:18 +08:00 committed by GitHub
parent 8f73cca2e7
commit ca9301add6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

20
pages/linux/ctr.md Normal file
View File

@ -0,0 +1,20 @@
# ctr
> Manage Containerd containers and images.
> More information: <https://containerd.io>.
- List all containers (running and stopped):
`ctr containers list`
- List all images:
`ctr images list`
- Pull an image:
`ctr images pull {{image}}`
- Tag an image:
`ctr images tag {{souce_image}}:{{source_tag}} {{target_image}}:{{target_tag}}`