@@ -59,29 +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.7
62+ $ docker pull registry.k8s .io/pause:3.7
6363 3.7: Pulling from pause
6464 7582c2cc65ef: Pull complete
6565 Digest: sha256:bb6ed397957e9ca7c65ada0db5c5d1c707c9c8afc80a94acbe69f3ae76988f0c
66- Status: Downloaded newer image for k8s.gcr .io/pause:3.7
67- k8s.gcr .io/pause:3.7
68- $ docker save k8s.gcr .io/pause:3.7 -o pause.tar
66+ Status: Downloaded newer image for registry.k8s .io/pause:3.7
67+ registry.k8s .io/pause:3.7
68+ $ docker save registry.k8s .io/pause:3.7 -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.7
74+ Loaded image: registry.k8s .io/pause:3.7
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.7 221177c6082a8 311kB
81+ registry.k8s .io/pause 3.7 221177c6082a8 311kB
8282$ sudo crictl inspecti 221177c6082a8
8383 ... displays information about the pause image.
84- $ sudo crictl inspecti k8s.gcr .io/pause:3.7
84+ $ sudo crictl inspecti registry.k8s .io/pause:3.7
8585 ... displays information about the pause image.
8686```
8787
@@ -201,7 +201,7 @@ $ crictl info
201201 }
202202 },
203203 "streamServerPort": "10010",
204- "sandboxImage": "k8s.gcr .io/pause:3.7",
204+ "sandboxImage": "registry.k8s .io/pause:3.7",
205205 "statsCollectPeriod": 10,
206206 "containerdRootDir": "/var/lib/containerd",
207207 "containerdEndpoint": "unix:///run/containerd/containerd.sock",
0 commit comments