Files
2025-11-25 00:19:28 +00:00

26 lines
444 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# ctr
> Manage `containerd` containers and images.
> More information: <https://manned.org/ctr>.
- 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 {{source_image}}:{{source_tag}} {{target_image}}:{{target_tag}}`