diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-03-15 20:41:46 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-03-16 09:30:48 -0400 |
commit | a57bd0085422a9802355652aa4ef6580ca8d6f49 (patch) | |
tree | dc432afbb9a20ee6703577710d5b7cd671029089 | |
parent | a50389a985f98ab6fd194fb045796111872efd4a (diff) | |
download | meta-virtualization-a57bd0085422a9802355652aa4ef6580ca8d6f49.tar.gz |
containerd: initial README
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r-- | recipes-containers/containerd/README.md | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-containers/containerd/README.md b/recipes-containers/containerd/README.md new file mode 100644 index 00000000..f7730793 --- /dev/null +++ b/recipes-containers/containerd/README.md | |||
@@ -0,0 +1,30 @@ | |||
1 | # containerd: sample image fetch and exec commands | ||
2 | |||
3 | ```shell | ||
4 | root@qemux86-64:~# ctr images list | ||
5 | REF TYPE DIGEST SIZE PLATFORMS | ||
6 | docker.io/calico/node:v3.11.2 application/vnd.docker.distribution.manifest.list.v2+json sha256:887bcd551668cccae1fbfd6d2eb0f635ec37bb4cf599e1169989aa49dfac5b57 84.8 MiB linux/amd64,linux/arm64,linux/ppc64le | ||
7 | docker.io/library/alpine:latest application/vnd.docker.distribution.manifest.list.v2+json sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 2.7 MiB linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,l | ||
8 | |||
9 | root@qemux86-64:~# ctr image pull docker.io/library/alpine:latest | ||
10 | docker.io/library/alpine:latest: resolved |++++++++++++++++++++++++++++++++++++++| | ||
11 | index-sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a: exists |++++++++++++++++++++++++++++++++++++++| | ||
12 | manifest-sha256:d7342993700f8cd7aba8496c2d0e57be0666e80b4c441925fc6f9361fa81d10e: exists |++++++++++++++++++++++++++++++++++++++| | ||
13 | layer-sha256:188c0c94c7c576fff0792aca7ec73d67a2f7f4cb3a6e53a84559337260b36964: exists |++++++++++++++++++++++++++++++++++++++| | ||
14 | config-sha256:d6e46aa2470df1d32034c6707c8041158b652f38d2a9ae3d7ad7e7532d22ebe0: exists |++++++++++++++++++++++++++++++++++++++| | ||
15 | elapsed: 6.5 s total: 0.0 B (0.0 B/s) | ||
16 | unpacking linux/amd64 sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a... | ||
17 | |||
18 | |||
19 | root@qemux86-64:~# ctr run -t docker.io/library/alpine:latest dtest /bin/sh | ||
20 | / # uname -a | ||
21 | Linux qemux86-64 5.8.13-yocto-standard #1 SMP PREEMPT Tue Oct 6 12:23:29 UTC 2020 x86_64 Linux | ||
22 | / # | ||
23 | |||
24 | |||
25 | # root@qemux86-64:~# ctr c list | ||
26 | CONTAINER IMAGE RUNTIME | ||
27 | dtest docker.io/library/alpine:latest io.containerd.runc.v2 | ||
28 | |||
29 | root@qemux86-64:~# ctr c delete dtest | ||
30 | ``` \ No newline at end of file | ||