How it works...

Login into an EC2 instance and verify whether arpitaggarwal/golang-image has been pulled successfully from Docker Hub by executing the following command:

$ docker images

This will list all the top-level images, their repositories, tags, and their size, as shown in the following screenshot:

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.