tldr/pages/linux/ctr.md

21 lines
350 B
Markdown
Raw Normal View History

2020-11-05 10:09:18 +00:00
# ctr
> Manage `containerd` containers and images.
2020-11-05 10:09:18 +00:00
> 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}}`