Docker ps: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 5: Line 5:
=Internal=
=Internal=


* [[Docker Client Operations#ps|Client Operations]]
* [[Docker_Client_Operations#Container_Lifecycle_Operations|Container Lifecycle Operations]]


=Overview=
=Overview=

Revision as of 02:10, 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.