docker-container-ls
List Docker containers. tldr-pages
On several platforms
Several platforms
List currently running Docker containers
docker [ps|container ls]IdentifyList all Docker containers (running and stopped)
docker [ps|container ls] --allIdentifyShow the latest created container (includes all states)
docker [ps|container ls] --latestIdentifyFilter containers that contain a substring in their name
docker [ps|container ls] --filter "name=name"IdentifyFilter containers that share a given image as an ancestor
docker [ps|container ls] --filter "ancestor=image:tag"IdentifyFilter containers by exit status code
docker [ps|container ls] --filter "exited=code" --allIdentifyFilter containers by status (created, running, removing, paused, exited, and dead)
docker [ps|container ls] --filter "status=status"IdentifyFilter containers that mount a specific volume or have a volume mounted in a specific path
docker [ps|container ls] --filter "volume=path/to/directory" --format "table \{\{.ID\}\}\t\{\{.Image\}\}\t\{\{.Names\}\}\t\{\{.Mounts\}\}"Identify