Publishing a custom image.
The custom image can be saved via docker commit which saves the changes into the base image and then docker push is used to upload this image to sdocker hub.
NOTE: - Username/password is required to upload the image from docker hub.
Docker login
Username:
Password:
In case you don’t have one simply go to docker hub and create your account free of cost.