Where will the nginx image be saved?

I executed the following “nginx.yaml” file with the command “kubectl apply -f nginx.yaml”.
In this case, where will the nginx image be saved?
After running kubespary, I cannot use the docker command.
How can I check this?

  • nginx.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: nginx-deployment
spec:
  selector:
    matchLabels:
      app: nginx
  replicas: 1
  template:
    metadata:
      labels:
        app: nginx
    spec:
      containers:
      - name: nginx
        image: nginx:latest
        imagePullPolicy: Never
        ports:
        - containerPort: 80
---
apiVersion: v1
kind: Service
metadata:
  name: nginx
spec:
  type: NodePort
  selector:
    app: nginx
  ports:
    - name: http
      port: 8080
      targetPort: 80
---
  • docker command
docker ps
-bash: docker: command not found
  • nerdctl images
sudo nerdctl images
REPOSITORY                                                   TAG                                                                 IMAGE ID        CREATED           PLATFORM          SIZE         BLOB SIZE
hello-world                                                  latest                                                              7d246653d051    24 hours ago      linux/arm64/v8    16.0 KiB     7.6 KiB
peoplenet-on-deepstream_deepstream-peoplenet                 latest                                                              d68d92b5b659    20 hours ago      linux/arm64       29.5 GiB     1.3 GiB
k8s.gcr.io/pause                                             3.6                                                                 3d380ca88645    54 minutes ago    linux/arm64       480.0 KiB    247.6 KiB
k8s.gcr.io/pause                                             <none>                                                              3d380ca88645    54 minutes ago    linux/arm64       480.0 KiB    247.6 KiB
quay.io/calico/cni                                           v3.23.3-arm64                                                       8227b92ec640    47 hours ago      linux/arm64       366.1 MiB    72.8 MiB
quay.io/calico/kube-controllers                              v3.23.3-arm64                                                       35d2259c02e5    47 hours ago      linux/arm64       119.3 MiB    23.9 MiB
quay.io/calico/node                                          v3.23.3-arm64                                                       473cd800f6d0    47 hours ago      linux/arm64       612.5 MiB    64.8 MiB
quay.io/calico/pod2daemon-flexvol                            v3.23.3-arm64                                                       8bc48d208e51    47 hours ago      linux/arm64       18.4 MiB     4.4 MiB
registry.k8s.io/coredns/coredns                              v1.8.6                                                              5b6ec0d6de9b    47 hours ago      linux/arm64       45.7 MiB     11.7 MiB
registry.k8s.io/cpa/cluster-proportional-autoscaler-arm64    1.8.5                                                               260ba0a774e8    47 hours ago      linux/amd64       44.4 MiB     13.5 MiB
registry.k8s.io/dns/k8s-dns-node-cache                       1.21.1                                                              d5d5213fd365    47 hours ago      linux/arm64       160.9 MiB    39.1 MiB
registry.k8s.io/kube-apiserver                               v1.24.3                                                             a04609b85962    47 hours ago      linux/arm64       137.3 MiB    29.4 MiB
registry.k8s.io/kube-controller-manager                      v1.24.3                                                             f504eead8b86    47 hours ago      linux/arm64       127.3 MiB    26.9 MiB
registry.k8s.io/kube-proxy                                   v1.24.3                                                             c1b135231b5b    47 hours ago      linux/arm64       245.2 MiB    36.4 MiB
registry.k8s.io/kube-scheduler                               v1.24.3                                                             e19952329822    47 hours ago      linux/arm64       64.7 MiB     13.4 MiB
registry.k8s.io/pause                                        3.6                                                                 3d380ca88645    47 hours ago      linux/arm64       480.0 KiB    247.6 KiB
registry.k8s.io/pause                                        3.7                                                                 bb6ed397957e    47 hours ago      linux/arm64       0.0 B        262.1 KiB
registry.k8s.io/pause                                        <none>                                                              bb6ed397957e    47 hours ago      linux/arm64       0.0 B        262.1 KiB
sha256                                                       1e25a96f93b46bbb5b1054e9be33bac06d9f18c44766f1c55cc026a87363b3ef    260ba0a774e8    47 hours ago      linux/amd64       44.4 MiB     13.5 MiB
sha256                                                       46331d942d6350436f64e614d75725f6de3bb5c63e266e236e04389820a234c4    7d246653d051    24 hours ago      linux/arm64/v8    16.0 KiB     7.6 KiB
sha256                                                       531fdfc5fea6773bda013d735d8bb336b1181b9343a7729d6daa892c0d3e44a6    a04609b85962    47 hours ago      linux/arm64       137.3 MiB    29.4 MiB
sha256                                                       561167f7e719a8081a4d9bc9e555d22c33b05f843fa53c593e346173dd24ce3a    35d2259c02e5    47 hours ago      linux/arm64       119.3 MiB    23.9 MiB
sha256                                                       6587c226e09cde8db257e94e08c206d867e95a0b6b10e0c67c6674808481f067    d68d92b5b659    20 hours ago      linux/arm64       29.5 GiB     1.3 GiB
sha256                                                       7a75aeb869dce60a2804da320388ece7f3efe226784a2433900da9b4b75156c4    c1b135231b5b    47 hours ago      linux/arm64       245.2 MiB    36.4 MiB
sha256                                                       7d46a07936af93fcce097459055f93ab07331509aa55f4a2a90d95a3ace1850e    3d380ca88645    47 hours ago      linux/arm64       480.0 KiB    247.6 KiB
sha256                                                       8e518a5ea8fd70bf0e2821e19888ca2ba8812b4dd5858fd95fa46249f356ab50    8bc48d208e51    47 hours ago      linux/arm64       18.4 MiB     4.4 MiB
sha256                                                       8f1507b1a173a3638f21d54ac21b54a7ba0cf626e878fc822e4bad99313e438a    e19952329822    47 hours ago      linux/arm64       64.7 MiB     13.4 MiB
sha256                                                       c1fb762f681b8608708eba2dcd534c5cc7cec418b779c5993ab759612e75782d    8227b92ec640    47 hours ago      linux/arm64       366.1 MiB    72.8 MiB
sha256                                                       ddc11fcb1edee861c2ba6ba944c99aeaa53b0712dfa4dce8d3e9a7406906b3a6    d5d5213fd365    47 hours ago      linux/arm64       160.9 MiB    39.1 MiB
sha256                                                       e5a475a0380575fb5df454b2e32bdec93e1ec0094d8a61e895b41567cb884550    bb6ed397957e    47 hours ago      linux/arm64       0.0 B        262.1 KiB
sha256                                                       edaa71f2aee883484133da046954ad70fd6bf1fa42e5aec3f7dae199c626299c    5b6ec0d6de9b    47 hours ago      linux/arm64       45.7 MiB     11.7 MiB
sha256                                                       efffc4cf7dc5447777c656d34345d8632f12359f3db29f63dea32b1881cb7bb0    473cd800f6d0    47 hours ago      linux/arm64       612.5 MiB    64.8 MiB
sha256                                                       f98535efcd55dfbff02daa796f8c24e0a00a2a18bda77245cdb55ea445c6af2c    f504eead8b86    47 hours ago      linux/arm64       127.3 MiB    26.9 MiB