Created
September 23, 2016 17:14
-
-
Save altair21/974b1810021b1bb1862240c0c1fc133c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
step1——找到本地镜像的ID:docker images | |
step2——登陆Hub:docker login --username=username --password=password --email=email | |
step3——tag:docker tag <imageID> <namespace>/<image name>:<version tag eg latest> | |
step4——push镜像:docker push <namespace>/<image name> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment