Skip to content

All.dockerhub.how to guide

Dockerhub#

Login Dockerhub#

https://hub.docker.com/

Username: sorrentum Email: gp@crypto-kaizen.com

There are several public images

  • Sorrentum/cmamp

Used in DATA605:

  • Sorrentum/sorrentum
  • Sorrentum/defi
  • Sorrentum/jupyter

The page corresponding to the Sorrentum repo is https://hub.docker.com/u/sorrentum

Login through CLI#

docker login --username sorrentum --password XYZ

List all the images#

  • Without authentication
    > curl -s "https://hub.docker.com/v2/repositories/sorrentum/?page_size=100" | jq '.results|.[]|.name'
    "sorrentum"
    "cmamp"
    "jupyter"
    "defi"
    

Rename an image#

docker pull yourusername/oldimagename:tag docker tag yourusername/oldimagename:tag yourusername/newimagename:tag docker push yourusername/newimagename:tag

  • To delete the old image you need to go through the GUI