How to do it...

  1. Login into Docker Hub using your credentials from the command line by executing the following command:
$ docker login --username arpitaggarwal --password XXXXX Login Succeeded
  1. Execute the docker pull command to pull arpitaggarwal/golang-image from Docker Hub, as follows:
$ docker pull arpitaggarwal/golang-image

This will result in the following output:

Get Go Web Development Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.