CallMeTechie
DE Login
Home Products Blog About Contact

View Containers & Stacks

v1.0 · Updated 4 days ago

View Containers & Stacks

These three read-only commands change nothing on the NAS:

/compose-list — compose projects

/compose-list lists all compose projects with status, container count and config file (docker compose ls --all):

PROJECT       STATUS        CONTAINERS  CONFIG
app-stack     running(3)    3           /volume1/docker/app/docker-compose.yml
backup-job    exited        0           /volume1/docker/backup/docker-compose.yml
Verdict: 1 active, 1 stopped

/docker-list — containers

/docker-list [--all] shows running containers (with --all also stopped ones) including the associated compose project:

NAME          IMAGE            STATUS         COMPOSE-PROJECT
web           nginx:latest     Up 2 hours     app-stack
db            postgres:16      Up 2 hours     app-stack
Verdict: 2 running, 0 stopped, 0 standalone

/compose-logs — logs of a project

/compose-logs <project> [--tail=N] [--since=Nh|Nd] [--service=NAME] shows the logs of a compose project. Defaults are 200 lines (1–5000) and a 1h time window:

/compose-logs app-stack --tail=100 --since=2h --service=web

Cookie Settings

We use cookies to improve your experience. Essential cookies are always active.

Privacy Policy
ESC
↑↓ navigate open esc close