Docker Hub is a central place to upload Docker images. Many products, including Kubernetes, can create containers based on images in Docker Hub.
- Login with your docker credentials with the following command
- docker login
- Retag or rename the Docker images you created under your Docker username with the following command
docker tag old-image-name:old-tag new-image-name:new-tag- What is a tag?
- After the image name, the optional TAG is a custom, human-readable manifest identifier that is typically a specific version or variant of an image.
- Finally push or upload the docker image to dockerhub with the following command
- docker push [YOUR DOCKER USER NAME]/[IMAGE NAME]
Comments
Post a Comment