Now let's push this custom built image to Docker Hub.
In order to do so, you have to first login to Docker Hub.
For that, please enter command.
Docker Login.
I already logged in before.
That's why Docker utilised cached credentials and succeeded.
In your case, if you enter Docker login for the first time, you will be prompted to enter Docker Hub
login and password.
Now I am able to push this build image to Docker Hub that I'll utilise command, docker push and here
will the name of the image which I would like to push to a remote repository hosting service with the
showcase web.
Hello.
Let's go ahead and push it.
Using default tech latest pushing different layers of the image.
It takes some time because image is relatively large.
You see, waiting for those layers.
And finally, this image was pushed to Docker Hub.
Let me verify that it appeared here.
Refresh page and now there was K eight as well.
Hello?
Image.
Wonderful.
This image, by the way, is public and you are able to utilize it as well for your Kubernetes deployments.
Image is ready and available at Docker Hub, and now we are able to create Kubernetes deployment based
on this image.
Let's do that.