@@ -59,26 +59,26 @@ command. With the load command you inject a container image into the container
5959runtime from a file. First you need to create a container image tarball. For
6060example to create an image tarball for a pause container using Docker:
6161``` console
62- $ docker pull k8s.gcr.io/pause:3.5
63- 3.5 : Pulling from pause
64- 019d8da33d91 : Pull complete
65- Digest: sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07
66- Status: Downloaded newer image for k8s.gcr.io/pause:3.5
67- k8s.gcr.io/pause:3.5
68- $ docker save k8s.gcr.io/pause:3.5 -o pause.tar
62+ $ docker pull k8s.gcr.io/pause:3.6
63+ 3.6 : Pulling from pause
64+ fbe1a72f5dcd : Pull complete
65+ Digest: sha256:3d380ca8864549e74af4b29c10f9cb0956236dfb01c40ca076fb6c37253234db
66+ Status: Downloaded newer image for k8s.gcr.io/pause:3.6
67+ k8s.gcr.io/pause:3.6
68+ $ docker save k8s.gcr.io/pause:3.6 -o pause.tar
6969```
7070Then use ` ctr ` to load the container image into the container runtime:
7171``` console
7272# The cri plugin uses the " k8s.io" containerd namespace.
7373$ sudo ctr -n=k8s.io images import pause.tar
74- Loaded image: k8s.gcr.io/pause:3.5
74+ Loaded image: k8s.gcr.io/pause:3.6
7575```
7676List images and inspect the pause image:
7777``` console
7878$ sudo crictl images
7979IMAGE TAG IMAGE ID SIZE
8080docker.io/library/busybox latest f6e427c148a76 728kB
81- k8s.gcr.io/pause 3.5 ed210e3e4a5ba 683kB
81+ k8s.gcr.io/pause 3.6 ed210e3e4a5ba 683kB
8282$ sudo crictl inspecti ed210e3e4a5ba
8383 ... displays information about the pause image.
8484$ sudo crictl inspecti k8s.gcr.io/pause:3.5
@@ -201,7 +201,7 @@ $ crictl info
201201 }
202202 },
203203 "streamServerPort": "10010",
204- "sandboxImage": "k8s.gcr.io/pause:3.5 ",
204+ "sandboxImage": "k8s.gcr.io/pause:3.6 ",
205205 "statsCollectPeriod": 10,
206206 "containerdRootDir": "/var/lib/containerd",
207207 "containerdEndpoint": "unix:///run/containerd/containerd.sock",
0 commit comments