Skip to content

Docker Hub

Mark Fernandes edited this page Sep 8, 2016 · 7 revisions
  • What is Docker Hub? A Public Registry of Docker images (Note we can have private registries on Docker Hub or by running your own - this is implemented as a Docker container!). Think phone App Store for Docker containers. Let us now go and visit it at https://hub.docker.com/ and create a (free) user account.
  • Searching the Docker hub
    Web-browser

Command-line
All docker commands are prefaced with docker (NB if user is not in 'docker' group in /etc/group then it must also be prefaced with 'sudo') - to get a list of the docker commands and options just type 'docker' and hit return.
docker --help gives more detailed help for that Open a terminal session on our VM.

  • Our first command that we will use is 'docker login'. You need to supply your username, password and the e-mail address that you registered with. To logout, the command is (surprise, surprise) 'docker logout'.
  • The next command we will use is the search command, try 'docker search etherpad'
  • To run a existing simple docker container from our terminal type:
    'docker run docker/whalesay cowsay boo' You have now run a Docker container!

KItematic (GUI for Macs & Windows)