Installation: yum -y install docker
Start: service start docker
Search image: docker search centos:7.9
Download the image: docker pull docker.io/18703283952/mycentos
View all images: docker images
Start and enter the image: docker run -it docker.io/18703283952/mycentos /bin/bash
Stop and exit the mirror: Enter exit in the terminal
View installed images and status information: docker ps -a
Start the image: docker start *** (the last field NAMES seen by the command docker ps -a)
Enter the image: docker attach *** (the last field NAMES seen by the command docker ps -a)
Stop the image: docker stop *** (the last field NAMES seen by the command docker ps -a)