Skip to content

Container Management

The Container Management page displays all Docker containers in an environment in real time. It shows health status, stack membership, and port mappings — and allows you to start, stop, or remove containers directly as well as stream their logs live.

FeatureDescription
Three view modesList, Stack grouping, Product grouping
Health statusBased on RSGO health monitoring (not Docker HEALTHCHECK)
Container actionsStart, Stop, Remove (for unmanaged containers)
Live logsReal-time log streaming with auto-scroll
Orphaned stacksDetection and repair of orphaned stacks

The default view shows all containers in a flat table.

Container Management list view

Columns in the list view:

ColumnContent
Container NameName of the container
StackAssociated stack name (with “Orphaned” badge if no deployment record exists)
ProductProduct name (if part of a product deployment)
ImageDocker image reference
StatusHealth status badge (healthy, unhealthy, starting, none)
PortPrimary port mapping (public:internal)
ActionsStart/Stop, Logs, Remove

Groups containers by Docker stack labels. Ideal for seeing which containers belong to which stack.

Container Management stack view

Each stack group shows:

  • Stack name as a header with the number of running containers
  • “Orphaned” badge if no deployment record exists in the database
  • For orphaned stacks: Repair (create deployment record) and Remove All buttons

Groups containers by products and their stacks — ideal for a structured overview of all deployed products.

Container Management product view

The hierarchy is: Product → Stack → Container. Containers without a product assignment appear in the “Unmanaged” section.


ReadyStackGo uses its own HTTP health monitoring instead of the native Docker HEALTHCHECK. This prevents false “unhealthy” reports when diagnostic tools (curl, wget) are not available in the container image.

StatusColorMeaning
healthygreenContainer is running and passes all health checks
unhealthyredHealth checks are failing or container is stopped
startingyellowContainer is starting up
nonegrayNo health check configured

For containers not monitored by any stack deployment, the following fallback logic applies:

  • state = runninghealthy
  • state = restarting / pauseddegraded
  • state = exited / deadunhealthy

Use the action buttons to start or stop a container directly. A spinner is shown during the action and the button is disabled.

The remove button (trash icon) prompts for confirmation before deleting the container. Running containers are force-removed.


Click the log icon to open the log view for the selected container.

Container logs in real time

Features of the log view:

  • Live streaming via WebSocket — logs appear in real time
  • Tail selection — load 50, 100, 200, or 500 historical log lines
  • Auto-scroll — follows new log lines automatically; disables on manual scroll
  • Scroll-to-bottom button — appears when scrolled up
  • Connection indicator — shows whether the WebSocket connection is active
  • Stream-end indicator — appears when the container stops

A stack is considered “orphaned” when Docker containers with the label rsgo.stack=<name> exist but no corresponding deployment record is present in the database. This can happen after manual Docker operations or data loss.

Two actions are available for orphaned stacks:

ActionDescription
RepairCreates a new deployment record — containers are managed by ReadyStackGo from that point on
Remove AllRemoves all containers of the orphaned stack

Repair All repairs all orphaned stacks in the environment at once.


MethodEndpointDescriptionPermission
GET/api/containers?environment={envId}List all containersDeployments.Read
GET/api/containers/context?environment={envId}Stack/product contextDeployments.Read
POST/api/containers/{id}/start?environment={envId}Start a containerDeployments.Update
POST/api/containers/{id}/stop?environment={envId}Stop a containerDeployments.Update
DELETE/api/containers/{id}?environment={envId}&force={bool}Remove a containerDeployments.Update
GET/api/containers/{id}/logs?environment={envId}&tail={n}Log streamDeployments.Read
POST/api/containers/orphaned-stacks/{stackName}/repair?environment={envId}Repair orphaned stackDeployments.Update
DELETE/api/containers/orphaned-stacks/{stackName}?environment={envId}Remove orphaned stackDeployments.Update
POST/api/containers/repair-all-orphaned?environment={envId}Repair all orphaned stacksDeployments.Update

Authentication: JWT Bearer Token or API Key.


SituationBehavior
API unreachableRed error banner at the top of the page
Container not found404 response, error message in the UI
Start/Stop failsError message in the container row
WebSocket connection lostReconnect indicator in the logs view