@@ -59,28 +59,29 @@ 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.4.1
63- 3.4.1: Pulling from pause
64- 67ddbfb20a22: Pull complete
65- Digest: sha256:6c3835cab3980f11b83277305d0d736051c32b17606f5ec59f1dda67c9ba3810
66- Status: Downloaded newer image for k8s.gcr.io/pause:3.4.1
67- $ docker save k8s.gcr.io/pause:3.4.1 -o pause.tar
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
6869```
6970Then use ` ctr ` to load the container image into the container runtime:
7071``` console
7172# The cri plugin uses the " k8s.io" containerd namespace.
7273$ sudo ctr -n=k8s.io images import pause.tar
73- Loaded image: k8s.gcr.io/pause:3.4.1
74+ Loaded image: k8s.gcr.io/pause:3.5
7475```
7576List images and inspect the pause image:
7677``` console
7778$ sudo crictl images
7879IMAGE TAG IMAGE ID SIZE
7980docker.io/library/busybox latest f6e427c148a76 728kB
80- k8s.gcr.io/pause 3.4.1 0f8457a4c2eca 686kB
81- $ sudo crictl inspecti 0f8457a4c2eca
81+ k8s.gcr.io/pause 3.5 ed210e3e4a5ba 683kB
82+ $ sudo crictl inspecti ed210e3e4a5ba
8283 ... displays information about the pause image.
83- $ sudo crictl inspecti k8s.gcr.io/pause:3.4.1
84+ $ sudo crictl inspecti k8s.gcr.io/pause:3.5
8485 ... displays information about the pause image.
8586```
8687
@@ -200,7 +201,7 @@ $ crictl info
200201 }
201202 },
202203 "streamServerPort": "10010",
203- "sandboxImage": "k8s.gcr.io/pause:3.4.1 ",
204+ "sandboxImage": "k8s.gcr.io/pause:3.5 ",
204205 "statsCollectPeriod": 10,
205206 "containerdRootDir": "/var/lib/containerd",
206207 "containerdEndpoint": "unix:///run/containerd/containerd.sock",
0 commit comments