For teams that want containers without running the dashboard and Swarm.
What it does well
Simple installation and a catalog of one-click apps.
A UI and a cluster with Swarm rolling updates.
Same goal, two paths
See how to do each task with both tools. The examples assume the setup described in each case; adapt names, credentials and infrastructure.
01 / USE CASE
Ship a new version
The shop app is already registered in both tools, with source access and the server configured. On the Runner side, commands run on a Linux server with Docker and Traefik already set up.
With CapRover
From the approved checkout with a reviewed captain-definition, use the CLI already logged in to the CapRover server.
Run caprover deploy, pick the shop app at the prompts and follow the upload, build and deploy. Check the logs and the domain.
Publish the new version to the configured source. In the Git + Dockerfile path, the Runner fetches the code and builds on the server, without pushing the app image to a registry.
With polling configured, the pipeline runs automatically. To trigger it now, run the commands below on the server and check the status and history.
Examplebash · example
runner preflight shop
runner deploy shop
runner status shop
runner logs history shop
The Runner works on one server at a time. Host-published ports and shared writable volumes may require a downtime window.
02 / USE CASE
Roll back a version
The shop app is already registered in both tools, with source access and the server configured. On the Runner side, commands run on a Linux server with Docker and Traefik already set up.
With CapRover
In the app's Deployment tab, find the previous version in the history and click the revert icon next to it.
Follow the new build/deploy operation and validate the application. This flow rolls back the image/code while keeping the currently configured variables and persistent directories.
List the retained versions and confirm the previous one still has its code and image available.
Roll back to the previous version and check the application. To pick a different retained version, use --version with the listed identifier.
Examplebash · example
runner versions shop
runner rollback shop
runner status shop
runner logs history shop
A rollback changes code/image; it does not undo migrations, databases or persistent files. Check that the current configuration is compatible with the previous version.
03 / USE CASE
Change configuration
The shop app is already registered in both tools, with source access and the server configured. On the Runner side, commands run on a Linux server with Docker and Traefik already set up.
With CapRover
Open App Config > Environment Variables for the shop app and set LOG_LEVEL=info. Save/update the configuration.
Wait for the service to update and check the logs. The application must read this variable at runtime; build args are a separate setting.
In this example, shop already uses env_sync: skip in the reviewed manifest, which preserves the local environment; LOG_LEVEL is not pinned under environment in the manifest.
Write the non-secret variable on the server and force the container to be recreated. Check the log level in the application's behavior.
Examplebash · example
runner env set shop LOG_LEVEL info
runner deploy shop --force
runner status shop
The application must read LOG_LEVEL at runtime. Pipeline variables only reach the container if the deploy process passes them along.
Documented reports and historical context
Past request #191 described interruptions and was closed; later comments clarify Swarm rolling updates and the use of healthchecks.
The new container passes the healthcheck before the switch in Traefik. Published ports and shared writable volumes may require a window; test the cutover with your app.
The author of #1888 reported losing custom nginx configuration after an update; the maintainer disputed the link to the upgrade.
In the runner, the manifest defines the routes and local mode writes Traefik files. Keep your changes in the manifest; this does not preserve external manual customizations or remove the need to validate the proxy.
Report #1927 hit the error for a node that is not a Swarm manager.
The runner uses standalone Docker and does not require a Swarm manager. It does not offer a cluster's scheduling and failover features.
When to stay with the tool
Stay with CapRover if you use one-click apps, the UI, and a Swarm cluster. The runner works per Docker host, with no multi-node coordination.
How to evaluate the deploy step
The commands use shop as the example app. Adjust the identifier and instance to the generated manifest. Only remove the previous deploy after validating the new path.
Convert captain-definition into an image/Dockerfile and review volumes, networks, and variables. Remove the dependency on Swarm services and plan the move from nginx to Traefik; the runner does not migrate the cluster automatically.
Prepare a Linux server with compatible Docker and Traefik, DNS, and a persistence strategy. Back up your data with your backup tool and test the restore. Install and initialize the runner following the getting started guide.
In the app folder with a Dockerfile or image, generate and review the manifest. Check network, healthcheck, secrets, and version. The wizard does not deploy on its own.
Example for a GitHub repository: commit the reviewed manifest to the main branch before registering. Replace my-org/shop with your repo, main with the published branch, and production with the reviewed instance; set up read access to the private repo first. On the server, register, review the preflight, and only then deploy.
Example with runnerbash · example
runner add --repo my-org/shop --branch main --instance production --ckey v2
runner preflight shop
runner deploy shop
runner status shop
runner logs history shop
Validate the domain and the app's behavior before shutting down the previous deploy. Disable the old trigger to avoid two deployers on the same app. Set up polling to automate the pipeline on the server. If you prefer an external build, configure the source of the image or artifact produced by CI. The getting started guide details the prerequisites.