inspect_compose_stack
Inspect a Docker Compose project in an LXC guest on Proxmox, reporting status, service images, states, health, ports, networks, and mounts. Read-only, returns definitive answers even for absent projects.
Instructions
One compose project inside one LXC guest, on exactly the node named.
Read-only and idempotent. Reports the project's status, working directory, configuration file paths, and for each service its image, state, health verdict, working directory, published ports, attached networks, and persistent mounts, plus the networks the project owns.
Mount paths are returned; mount contents are never read -- no command form this server can issue opens a file. Environment variables are never returned, and neither are container labels or command lines.
An empty services list is an answer. A guest without Docker, a QEMU guest, and a guest
that simply does not run a project under that name all return one with partial false and
no warning: each is a question that was asked and definitively answered. A guest that is
not running and a listing that could not be read return one with partial true and a
warning, because those are questions that could not be asked. A single container whose
inspection fails still appears as a service, carrying what the container listing knew.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | ||
| vmid | Yes | ||
| profile | No | ||
| project | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | ||
| vmid | Yes | ||
| source | Yes | ||
| status | No | ||
| partial | No | ||
| profile | Yes | ||
| project | Yes | ||
| networks | No | ||
| services | No | ||
| warnings | No | ||
| working_dir | No | ||
| collected_at | Yes | ||
| config_files | No |