DevOps & CloudDocumentedScanned

dokku

Installs, upgrades, and uses Dokku to create apps, deploy, run one-off/background tasks, and clean up containers.

Share:

Installation

npx clawhub@latest install dokku

View the full skill documentation and source below.

Documentation

Dokku

Dokku is a PaaS; commands run on the Dokku host (SSH or local). Prefer running long operations (deploys, builds) in the background — use exec with background: true or short yieldMs when the tool allows.

Section index

Detailed command syntax and examples live in each section file. Read the relevant file when performing that category of task.

SectionFileCommands / topics
Appsapps/commands.mdcreate, destroy, list, rename, clone, lock, unlock, report
Configconfig/commands.mdget, set, unset, export
Domainsdomains/commands.mdadd, set, remove, set-global, report
Git / deploygit/commands.mdfrom-image, set, deploy-branch, git push
Run (one-off / background)run/commands.mdrun, run:detached
Logslogs/commands.mdlogs, logs:failed, logs:set
Process (ps)ps/commands.mdscale, rebuild, restart, start, stop
Pluginplugin/commands.mdlist, install, update, uninstall
Certscerts/commands.mdadd, remove, generate
Nginxnginx/commands.mdbuild-config, show-config, set
Storagestorage/commands.mdmount, list
Networknetwork/commands.mdreport, bind-all-interfaces
Installinstall/commands.mdInstalling Dokku (bootstrap, post-install, alternatives)
Upgradeupgrade/commands.mdUpgrading Dokku; check migration guides before upgrading
Cleanupcleanup/commands.mdCleaning up Dokku and containers (prune, builder prune, apps)

Quick reference

  • Create app: dokku apps:create
  • Deploy (git): Add remote dokku@:, then git push dokku :master
  • Deploy (image): dokku git:from-image
  • Run in background (Dokku): dokku run:detached or dokku run --detach
  • Agent-side background: For long deploys/installs, run the shell command via exec with background: true or short yieldMs; poll or check logs as needed.
For full command details and options, see the section files above.