Skip to content

Instantly share code, notes, and snippets.

@brijesh-deb
Created January 20, 2018 03:47
Show Gist options
  • Save brijesh-deb/3bab55d7fe608ca91cf7e057e3ccd058 to your computer and use it in GitHub Desktop.
Save brijesh-deb/3bab55d7fe608ca91cf7e057e3ccd058 to your computer and use it in GitHub Desktop.
#docker #upload

Upload image to docker hub

  • Go to host where image is there
  • export DOCKER_ID_USER="[YOUR DOCKER HUB USERNAME]"
  • docker login
  • docker tag [image name] $DOCKER_ID_USER/[image name]
  • docker push $DOCKER_ID_USER/[image name]
  • login to hub.docker.com to check if image has got uploaded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment