Inspect
List containers
docker ps --allIncludes stopped containers as well as running ones.
DevOps reference
Find Docker and Compose inspection commands and small examples without running anything from the page.
9 of 9 entries
Inspect
docker ps --allIncludes stopped containers as well as running ones.
Inspect
docker image lsShows locally available images and tags.
Inspect
docker inspect example-appOutputs configuration and runtime metadata; it can contain secrets.
Inspect
docker logs --tail 100 example-appReads the latest 100 log lines; logs can expose application data.
Inspect
docker stats --no-streamTakes a resource-usage snapshot for running containers.
Change
docker build -t example-app:local .Builds from the current context; review Dockerfile commands and included files first.
Compose
docker compose config --quietChecks the resolved Compose configuration without printing it.
Compose
docker compose psShows containers belonging to the current Compose project.
Compose
docker compose up -dCreates or updates services in the background; this changes running workloads.