tldr/pages/linux/ctr.md

21 lines
351 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:
2022-07-19 15:15:32 +01:00
`ctr images tag {{source_image}}:{{source_tag}} {{target_image}}:{{target_tag}}`