show info

[!TIP|label:references:]

docker ps

PLACEHOLDER
DESCRIPTION

.ID

Container ID

.Image

Image ID

.Command

Quoted command

.CreatedAt

Time when the container was created.

.RunningFor

Elapsed time since the container was started.

.Ports

Exposed ports.

.State

Container status (for example; "created", "running", "exited").

.Status

Container status with details about duration and health-status.

.Size

Container disk size.

.Names

Container names.

.Labels

All labels assigned to the container.

.Label

Value of a specific label for this container. For example '{{.Label "com.docker.swarm.cpu"}}'

.Mounts

Names of the volumes mounted in this container.

.Networks

Names of the networks attached to this container.

  • original

  • via foramt

docker list

  • sort by image size

docker inspect

show docker image

show entrypoint

  • or list only

    • i.e.:

  • i.e.:

  • or

  • or

[!TIP] how to redirect docker logs to a single file

docker stats

docker status

docker system

Last updated

Was this helpful?