<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/how-to-list-docker-containers-all-running-stopped-more--o4bxk5hzj" -->

---
title: How to List Docker Containers [All, Running, Stopped &amp; More]
description: Learn how to list Docker containers and their details using &#x27;docker ps&#x27; command. Understand the various use cases where listing containers can be helpful....
canonical: https://daily.dev/posts/how-to-list-docker-containers-all-running-stopped-more--o4bxk5hzj
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: How to List Docker Containers [All, Running, Stopped &amp; More] | daily.dev
og:description: Learn how to list Docker containers and their details using &#x27;docker ps&#x27; command. Understand the various use cases where listing containers can be helpful....
og:url: https://daily.dev/posts/how-to-list-docker-containers-all-running-stopped-more--o4bxk5hzj
og:image: https://api.daily.dev/og/posts/O4Bxk5HZj.png
og:image:alt: How to List Docker Containers [All, Running, Stopped &amp; More]
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How to List Docker Containers [All, Running, Stopped & More]

**[Spacelift](https://daily.dev/sources/spacelift)** · [@lonyless](https://daily.dev/lonyless) · 2 min read · 11 upvotes · 0 comments

## Summary

Learn how to list Docker containers and their details using 'docker ps' command. Understand the various use cases where listing containers can be helpful. Customize the output using formatting options and filter containers based on specific conditions.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://spacelift.io/blog/docker-list-containers>

---

Tags: [#infrastructure](https://daily.dev/tags/infrastructure), [#docker](https://daily.dev/tags/docker), [#docker-compose](https://daily.dev/tags/docker-compose)

[View this post on daily.dev](https://daily.dev/posts/how-to-list-docker-containers-all-running-stopped-more--o4bxk5hzj)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"How to List Docker Containers [All, Running, Stopped & More]","url":"https://daily.dev/posts/how-to-list-docker-containers-all-running-stopped-more--o4bxk5hzj","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/how-to-list-docker-containers-all-running-stopped-more--o4bxk5hzj"},"datePublished":"2024-04-24T10:15:36.242Z","dateModified":"2024-05-09T10:00:18.961Z","description":"Learn how to list Docker containers and their details using 'docker ps' command. Understand the various use cases where listing containers can be helpful....","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/32ac700ed5dc475ab011de8821f7b6e1?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/32ac700ed5dc475ab011de8821f7b6e1?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"Spacelift","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Person","name":"Victor Batista","url":"https://daily.dev/lonyless","image":"https://avatars.githubusercontent.com/u/48859696?v=4","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":2340}},"commentCount":0,"discussionUrl":"https://daily.dev/posts/how-to-list-docker-containers-all-running-stopped-more--o4bxk5hzj","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":11},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"infrastructure,docker,docker-compose","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Spacelift","item":"https://daily.dev/sources/spacelift"},{"@type":"ListItem","position":3,"name":"How to List Docker Containers [All, Running, Stopped & More]"}]}
```

