docker container ls
docker container ls
Description
List containers
Usage
docker container ls [OPTIONS]
Options
Name, shorthand | Default | Description |
---|---|---|
--all, -a | false | Show all containers (default shows just running) |
--filter, -f | Filter output based on conditions provided | |
--format | Pretty-print containers using a Go template | |
--last, -n | -1 | Show n last created containers (includes all states) |
--latest, -l | false | Show the latest created container (includes all states) |
--no-trunc | false | Don’t truncate output |
--quiet, -q | false | Only display numeric IDs |
--size, -s | false | Display total file sizes |
Parent command
Command | Description |
---|---|
docker container | Manage containers |
© 2013–2016 Docker, Inc.
Licensed under the Apache License, Version 2.0.
Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United States and/or other countries.
Docker, Inc. and other parties may also have trademark rights in other terms used herein.
https://docs.docker.com/engine/reference/commandline/container_ls/