mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 07:46:02 +02:00
ctr: add page (#4928)
This commit is contained in:
parent
8f73cca2e7
commit
ca9301add6
1 changed files with 20 additions and 0 deletions
20
pages/linux/ctr.md
Normal file
20
pages/linux/ctr.md
Normal 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}}`
|
Loading…
Add table
Reference in a new issue