The push and pull the mirror docker

Upload Mirror Hub to Docker
1, using the docker commit command to submit container, submitted to the mirror. (Image name dockershub When user name / custom name)
Docker the commit [Container ID or container name] image name: tag
example: Docker the commit basecontainer dockerkangkang / basecontainer: 1.0
2, Docker Images view the Image
. 3, Docker Login
. 4, Docker push mirror name
example: docker push dockerkangkang / basecontainer: 1.0
and then to dockerhub to view, the mirror can also be uploaded to the private
------
drive away the image from the Hub Docker
. 1, Docker pull mirror name: tag
example: docker pull dockerkangkang / basecontainer: 1.0

Guess you like

Origin www.cnblogs.com/cnkangkang/p/11300742.html