After starting the window, use the following command into the container
docker run -itd centos /启动
docker ps //查看启动的镜像
docker exec -it ID号 bash (docker exec -it 4e3bf0 bash)
It may be the same as normal after the operation went, but it is a simplified version of the system.
Exit container:exit
or ctrl + d
Made of mirrordocker commit -m "install net-tools" -a "test" 4e3bf0 centos_nettools
-m plus some changes to information, -a specify this string of information 4e3bf0 container id, then back to the new image name!