Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement