mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-09 15:46:33 +00:00
Update cheatsheets
This commit is contained in:
25
linux/ctr
Normal file
25
linux/ctr
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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 {{source_image}}:{{source_tag}} {{target_image}}:{{target_tag}}`
|
||||
Reference in New Issue
Block a user