Skip to content

Instantly share code, notes, and snippets.

@Chever-John
Last active November 7, 2022 03:24
Show Gist options
  • Save Chever-John/af5c8e9bbb3f05b821e674559e7aca63 to your computer and use it in GitHub Desktop.
Save Chever-John/af5c8e9bbb3f05b821e674559e7aca63 to your computer and use it in GitHub Desktop.
Common commands of ctr
ctr image pull docker.io/library/hello-world
ctr image pull docker.io/library/hello-world:latest
ctr image ls
ctr image ls -q
ctr c create docker.io/library/hello-world:latest demo
ctr c list
ctr image remove docker.io/library/hello-world:latest
ctr c list
ctr c remove demo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment