Docker ps: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 26: Line 26:


Only display the numeric container IDs.
Only display the numeric container IDs.
==-s==

Revision as of 04:56, 5 December 2017

External

Internal

Overview

List running containers. The output contains:

  • the container ID and name(s)
  • the image the container was created from
  • the command
  • the container's status
  • when long ago was created
  • what ports it uses

Options

-a, --all

Lists all containers (stopped and running).

-q, --quiet

Only display the numeric container IDs.

-s