Docker creates mirrors based on containers that already have mirrors
* Docker run Centos/bin/bash first causes the mirror to open the container.
* Docker start DE8 launches the specified mirror container. De8 is the ID of the image and can be shortened to 3 bits.
* After running Docker exec-it De8/bin/bash, enter into the specified container, DE8 is the ID, can be abbreviated to 3-bit. We make some changes, such as installing something, and then creating a new image for the container.
* Exit the container and run Docker commit-m "Change somth"-a "Somebody info" container_id (get ID via Docker ps-a) New image name
* Example: Docker commit-m "Install httpd"-a "aming" 2c74d574293f Aming/centos
* This command is a bit like svn commit,-m plus some change information,-A to specify the author related information 2c74d This string is the old container ID, followed by the name of the new mirror
1.4-docker mirroring using containers to generate new mirrors