Skip to content

Docker Stages

1. Stage Overview

Docker stages extend the base stage model with container-specific fields. Each stage gets its own Docker stack, independent from the parent subscription.

Additional Fields

  1. Docker Image - Related from subscription (readonly)
  2. Docker Environment - Related from subscription (readonly)
  3. Stack ID - Stage-specific Portainer stack ID
  4. Code Server Stack ID - Stage-specific code server stack ID
  5. Log Level - Stage log level (default: debug)
  6. User Addons - Stage-specific addons path
  7. Server Wide Modules - Stage-specific modules
  8. Update Module - Modules to update on start
  9. Auto Install Modules - Modules to install on start
  10. Docker Log - Stage container logs
  11. Docker Command / Output - Command execution in stage container

2. Stage Creation Flow

  1. Backs up the parent subscription's database
  2. Creates a new Docker stack for the stage with its own ports
  3. Restores the backup to the new stage database
  4. Copies parent subscription addons to the stage directory
  5. Stage is now independent and can be configured separately

3. Stage Actions

Action Description
Update Stack Apply configuration changes and restart the stage container
Copy Addons Copy the parent subscription's custom addons to the stage
Backup/Restore Database Manage the stage database independently