Create a mirror with the commit command
Create a container, make changes in the container, the container was finally submitted a new image
Create a container
docker run -it --name test001 ubuntu /bin/bash
Modifying Containers
apt-get install vim
Exit container
exit
Submit custom container
docker commit -m 'submissions' -a 'authorship' idktp container ID / myImage: Tag # "idktp / myImage: Tag" mirror name. # Where idktp for personal Docker user name, myimages is to get the name of the warehouse
Docker hub to push the container
docker push idktp/myimage:tag