Docker Hub is a cloud-based public container registry hosted by Docker, Inc. By default, any Docker host you configure is set to use Docker Hub as the default container registry. Follow these steps to store the image we created in Docker Hub:
- Create a Docker Hub account if you don't have one already. You can do that by going to https://hub.docker.com/.
- Once your account is ready, you can use the following command on the Docker host to log in. You will be asked for the Docker Hub username and password in the Terminal itself:
docker login
- Once you've logged in, you need to tag the image we created earlier with your Docker Hub account name and an image name. Look at the following command. The specification ...