For a Docker server, a cluster can be an extra step.
What it does well
Continuous reconciliation, drift detection and declarative sync on Kubernetes.
UI and multi-cluster management.
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. Kubernetes Application already configured for the manifests repository.
With Argo CD
In the repository the Application watches, update the Deployment image to the approved version and push the commit.
Open the Application, review the diff and select Sync and Synchronize. With auto-sync enabled, wait for reconciliation. Check the resources' Sync and Health.
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
This compares the goal for the application: Argo CD reconciles Kubernetes resources; the Runner requires its own Docker configuration on a single server, without importing manifests or replacing cluster controllers. 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. The desired revision is in the history and auto-sync was disabled before the operation.
With Argo CD
With auto-sync disabled, pick a retained revision from the Application's history and roll back to the matching ID. The CLI provides argocd app rollback APP ID.
Check Sync and Health. Also update the desired state in Git before re-enabling auto-sync, so the new version is not reapplied. Resources and data have their own rollback limits.
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. This compares the goal for the application: Argo CD reconciles Kubernetes resources; the Runner requires its own Docker configuration on a single server, without importing manifests or replacing cluster controllers.
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 Argo CD
In Git, change LOG_LEVEL to info in the Deployment template's env. If you use a ConfigMap, also set up the mechanism that makes the Pods pick up the new configuration.
Push the commit and sync the Application. Wait for the Pods to roll out and check the log level. Avoid editing only the live resource when Git is meant to be the source of truth.
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
This compares the goal for the application: Argo CD reconciles Kubernetes resources; the Runner requires its own Docker configuration on a single server, without importing manifests or replacing cluster controllers. Auto-sync reconciles resources; whether ConfigMaps get reloaded depends on the application and the controller.
Documented reports and historical context
Argo CD is a GitOps tool for Kubernetes; a VPS with only Docker is not enough.
runner has an encrypted bundle per app and instance. Recovering on another server requires the bundle and the correct keys: losing them makes the secrets unrecoverable. Plan their custody.
When to stay with the tool
If you already run Kubernetes, stay with Argo CD to reconcile the cluster and operate multiple clusters.
runner reconciles the app manifest on a Docker host; it does not replace Argo's infrastructure reconciliation.
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.
Turn the app's required resources into an image/Dockerfile and declare network, volumes and healthcheck in the manifest. Don't carry cluster resources over as if they were equivalent containers; plan persistence and the traffic cutover.
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 start 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 turning off 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 start guide covers the prerequisites.