docker build and push code example
Example 1: docker build from github repository
docker run -p 3000:3000 -e github='https://github.com/pmcdowell-okta/dockertest.git' -it oktaadmin/dockertest
Example 2: docker push image
$ docker tag rhel-httpd registry-host:5000/myadmin/rhel-httpd
$ docker push registry-host:5000/myadmin/rhel-httpd
Example 3: pushing image to docker hub
docker push yourhubusername/verse_gapminder
Example 4: push image to docker hub
$ docker push <hub-user>/<repo-name>:<tag>