If you build a self-hosted control plane that runs inside Docker, users will eventually ask for a one-click "Upgrade Panel" button.
The naive implementation looks tempting: run docker compose pull && docker compose up -d panel from inside the panel container.
The moment Docker stops the old panel container to recreate it on the new image, the process running the upgrade is killed mid-flight. Nobody is left alive to check whether the new version actually boots, nobody can roll back if a migration fails, and the upgrade job in your database is frozen in running forever.
This is the bootstrap paradox behind control-plane self-upgrades in Nitrobase ( services/upgrade/state-machine.ts and services/upgrade/updater-script.ts ).
Nitrobase has only recently launched and is still in Beta .…