@@ -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.6
62+ $ docker pull registry.k8s .io/pause:3.6
6363 3.6: Pulling from pause
6464 fbe1a72f5dcd: Pull complete
6565 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
66+ Status: Downloaded newer image for registry.k8s .io/pause:3.6
67+ registry.k8s .io/pause:3.6
68+ $ docker save registry.k8s .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.6
74+ Loaded image: registry.k8s .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.6 ed210e3e4a5ba 683kB
81+ registry. k8s.io/pause 3.6 ed210e3e4a5ba 683kB
8282$ sudo crictl inspecti ed210e3e4a5ba
8383 ... displays information about the pause image.
84- $ sudo crictl inspecti k8s.gcr .io/pause:3.6
84+ $ sudo crictl inspecti registry.k8s .io/pause:3.6
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.6",
204+ "sandboxImage": "registry.k8s .io/pause:3.6",
205205 "statsCollectPeriod": 10,
206206 "containerdRootDir": "/var/lib/containerd",
207207 "containerdEndpoint": "unix:///run/containerd/containerd.sock",
0 commit comments