push a docker image to docker hub code example
Example 1: docker push image
$ docker tag rhel-httpd registry-host:5000/myadmin/rhel-httpd
$ docker push registry-host:5000/myadmin/rhel-httpd
Example 2: pushing image to docker hub
docker push yourhubusername/verse_gapminder
Example 3: docker push image to docker hub
docker push image to docker hub
Example 4: push image to docker hub
$ docker push /: