mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-20 16:27:52 +00:00
shimv2: Add instruction to pull image first
Running the container with `ctr` when the image is not present on the system gives an error. Fixes #536 Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
This commit is contained in:
@@ -326,6 +326,7 @@ debug: true
|
|||||||
To run a container with Kata Containers through the containerd command line, you can run the following:
|
To run a container with Kata Containers through the containerd command line, you can run the following:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
$ sudo ctr image pull docker.io/library/busybox:latest
|
||||||
$ sudo ctr run --runtime io.containerd.run.kata.v2 -t --rm docker.io/library/busybox:latest hello sh
|
$ sudo ctr run --runtime io.containerd.run.kata.v2 -t --rm docker.io/library/busybox:latest hello sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user