docker push uploads a local image to a container registry. Docker uses the image reference to select the repository and tag, then transfers the image layers. section 5.2
Use this workflow to share an image on Docker Hub:
- Log in with your Docker ID. section 5.2
- Create a registry-qualified tag, such as $dockerId/image-gallery:v1. section 5.2
- Push the qualified tag with docker image push. section 5.2
- Check the registry listing for the tag and update time. section 5.2
Push version 1
docker image tag image-gallery $dockerId/image-gallery:v1 docker login --username $dockerId docker image push $dockerId/image-gallery:v1 Successful output lists pushed layer IDs and ends with a digest for v1. section 5.2
docker image push $dockerId/image-gallery:v1
Run the exact push command after logging in and tagging the image. section 5.2

