Docker push: Difference between revisions
Jump to navigation
Jump to search
Line 23: | Line 23: | ||
[[docker login]] | [[docker login]] | ||
Tag the image you want pushed, and which must exist in the local registry with the remote repository | Tag the image you want pushed, and which must exist in the local registry with the remote repository namespace/name/tag: | ||
docker tag postgresql-debug <''dockerhub-userid''>|<''organization-id''>/postgresql-95-debug:1 | docker tag postgresql-debug <''dockerhub-userid''>|<''organization-id''>/postgresql-95-debug:1 | ||
Push | Push: | ||
docker push <''dockerhub-userid''>|<''organization-id''>/postgresql-95-debug:1 | docker push <''dockerhub-userid''>|<''organization-id''>/postgresql-95-debug:1 |
Revision as of 01:16, 23 January 2018
External
- https://docs.docker.com/engine/reference/commandline/push/
- https://docs.docker.com/docker-cloud/builds/push-images/
Internal
Overview
Push an image or a repository to a registry:
docker push [options] <name>[:tag]
Procedure
Push to Individual Docker Hub Account
Log in:
docker login
Tag the image you want pushed, and which must exist in the local registry with the remote repository namespace/name/tag:
docker tag postgresql-debug <dockerhub-userid>|<organization-id>/postgresql-95-debug:1
Push:
docker push <dockerhub-userid>|<organization-id>/postgresql-95-debug:1