how to push image to docker registry 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: How to pull images from Docker Registry
docker pull ubuntu:14.04
docker pull ubuntu
docker pull fedora
NOTE:
Docker Hub contains many pre-built images that you can pull
docker pull <Image>:<tag>
docker pull <Image>