Learn how to utilize a registry to store Docker images, push an image to a registry, and pull an image from a registry.
- [Instructor] There's really only…a few commands that you use to interact…with a registry from a Docker host.…So we covered docker login to log in to the registry.…We also covered docker logout to log out from the registry.…And now let's talk about docker push and docker pull.…The final command that we'll be covering…in another video is going to be docker search.…
So in our case, let's go ahead…and use docker login to log in to Docker Hub.…We'll put in our Docker Hub username and password.…We can see that login succeeded.…So if we have a docker image that we're looking at,…for example, let's say that we're going…to use the NGINX latest image right here,…and let's say that we want to push that up to Docker Hub.…So to push up that image,…it first needs to be tagged in the proper format.…
So we need to use a docker tag,…and we're going to tag nginx:latest,…and we're just going to call it daviddavistx,…which is the name of my registry up on Docker Hub,…and then we'll just add nginx:latest.…So now that image is tagged.…
- Docker Certified Associate (DCA)
- What are Docker images and Dockerfiles?
- Creating Docker images
- Tagging, modifying, and managing images
- Deploying a registry
- Pushing, pulling, and signing images
- Searching registries
- Deleting images from a registry