Docker ps: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 9: Line 9:
=Overview=
=Overview=


List running containers.
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=
=Options=

Revision as of 02:07, 20 November 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

Lists all containers (stopped and running).