Finding Images to Use

Learn how to find official images and which images you should prefer to use.

Throughout the course, we use a number of different known images. You may be wondering how you would find images to use if you had to do this yourself. It is important for you to be able to figure things out for yourself, so let’s delve into this now.

Postgres

Imagine we want to run a Postgres database, and we need to find an image that provides it. There are two ways you can go about finding images: using Docker Hub, Docker’s online service for storing images or Docker’s command-line interface (CLI). Let’s look at both in turn.

Using Docker Hub

Let’s visit it to see how we can use it to find images. Go to hub.docker.com in your browser. Type “postgres” in the main search box and press Enter. You should see a results screen that looks like the following:

Get hands-on with 1400+ tech skills courses.