Docker has a local mirror source. When it is created, should it go to pull?

  docker, question
root@docker_01 ~]# docker images
 REPOSITORY                    TAG                 IMAGE ID            CREATED             SIZE   6.7-tools           b2ab0ed558bb        6 weeks ago         601.9 MB   7.0                 2ce04a284fa8        9 months ago        287.9 MB   latest              997f0ed97903        13 months ago       441.8 MB
[root@docker_01 ~]# docker run --name ceshi -it centos
 Unable to find image 'centos:latest' locally
 Trying to pull repository   ...

. . . Why is this? I entered by the following method. . .

[root@docker_01 ~]# docker ps -a
 CONTAINER ID        IMAGE                                   COMMAND                  CREATED             STATUS              PORTS               NAMES
 98a498cff145   "/usr/bin/supervisord"   3 minutes ago       Up 3 minutes        22/tcp              ceshi_2
 [root@docker_01 ~]# sh 98a498cff145
 [root@98a498cff145 ~]# ls
 anaconda-ks.cfg  new.file
 [root@98a498cff145 ~]# exit
 [root@docker_01 ~]# ls
 anaconda-ks.cfg  new.file
[root@docker_01 ~]# cat
 #!  /bin/bash
 PID=$(docker inspect --format "{{.State.Pid}}" $1)
 echo $PID
 nsenter -t $PID -u -i -n -p

Why are the files in the physical system and the container the same? . . . .

There is no mirror called centos in your REPOSITORY. It’s called So he will pull the latest version of centos.

docker run --name ceshi -it