1, download centos iamges
$ docker pull centos
2, to view mirror
$ docker images REPOSITORY TAG IMAGE ID CREATED SIZE centos latest 9f38484d220f 2 months ago 202MB
3. Turn on the mirror: Mirror name = centos
$ docker run -it centos /bin/bash
4, view images running container
$ docker container ls
5, exit container centos: container may be closed, please refer to step 6 to run again
# exit
6, operations have been stopped container: container name = centos
$ docker start centos
7, already running into the container
$ docker exec -it centos-01 /bin/bash
8, view the configuration file: name = centos container
$ docker inspect centos