Skip to Content
Docker for Rails Developers
book

Docker for Rails Developers

by Rob Isenberg
February 2019
Intermediate to advanced
240 pages
5h 25m
English
Pragmatic Bookshelf
Content preview from Docker for Rails Developers

Using the Docker CLI

The other way to find images is by using the Docker CLI. For example, to find Postgres-related images, you would use the following command:

 $ ​​docker​​ ​​search​​ ​​postgres

If you run this now, you’ll see output similar to the following:

 NAME DESCRIPTION STARS OFFICIAL AUTOMATED
 postgres The PostgreSQL object-r... 3828 [OK]
 kiasaki/alpine-postgres PostgreSQL docker image... 33 [OK]
 nornagon/postgres 10 [OK]
 macadmins/postgres Postgres that accepts r... 8 [OK]
 ...

As you can see, the official postgres image is shown first, along with several others. Images are shown in order of the number of times the image has been “starred,” which is an indication of how popular the image is. The output also has a column to tell ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn Rails 6: Accelerated Web Development with Ruby on Rails

Learn Rails 6: Accelerated Web Development with Ruby on Rails

Adam Notodikromo
Mastering Ruby Closures

Mastering Ruby Closures

Benjamin Tan Wei Hao

Publisher Resources

ISBN: 9781680506730Errata Page