75. Chapter 17 Enterprise-level container technology docker -- basic commands for container operations (3)

1.4 Basic commands for container operations

Container command cycle
insert image description here

1.4.1 Start the container

docker run can start the container, enter the container, and randomly generate the container ID and name

1.4.1.1 Start the first container

Example: hello world running docker

[root@rocky8 ~]# docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
2db29710123e: Pull complete 
Digest: sha256:cc15c5b292d8525effc0f89cb299f1804f3a725c8d05e158653a563f15e4f685
Status: Downloade

Guess you like

Origin blog.csdn.net/qq_25599925/article/details/121856982