lift status
Show the status of Docker containers running on the server with formatted table output and optional JSON mode.
lift status
Show the status of Docker containers running on the server. Displays a formatted table with container names, images, status, and port mappings.
Options
| Flag | Description | Default |
|---|---|---|
--all | Include stopped containers in the output | |
--tool <name> | Filter containers by tool name | |
--output jsonl | Output as JSONL for scripting (or use --json) |
Example
$ lift status
NAME IMAGE STATUS PORTS
my-api-1 my-api:latest Up 2 hours 0.0.0.0:3000->3000/tcp
redis-app redis:7-alpine Up 5 days 6379/tcp
postgres-app postgres:16 Up 5 days 5432/tcp
$ lift status --tool redis
NAME IMAGE STATUS PORTS
redis-app redis:7-alpine Up 5 days 6379/tcp
$ lift status --json
{"type":"result","data":[{"Names":"my-api-1","Image":"my-api:latest",...}]}
Related
- lift logs - View container logs
- lift doctor - Run server diagnostics
- lift exec - Execute commands in containers