跳至主要内容
小龙虾小龙虾AI
🤖

dokku

Installs, upgrades, and manages Dokku apps, deploys code or images, runs tasks, and cleans up containers on Dokku hosts via CLI commands.

下载1.6k
星标0
版本0.0.1
DevOps运维
安全通过

技能说明


name: dokku description: Installs, upgrades, and uses Dokku to create apps, deploy, run one-off/background tasks, and clean up containers. Use when the user asks to install or upgrade Dokku, deploy to Dokku, install an app, run something in the background, or clean up Dokku/containers. Trigger terms: dokku, install dokku, upgrade dokku, migration guide, deploy, cleanup, prune, containers. metadata: {"openclaw":{"requires":{"bins":["dokku"]}}}

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 <app-name>
  • Deploy (git): Add remote dokku@<host>:<app-name>, then git push dokku <branch>:master
  • Deploy (image): dokku git:from-image <app> <docker-image>
  • Run in background (Dokku): dokku run:detached <app> <cmd> or dokku run --detach <app> <cmd>
  • 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.

如何使用「dokku」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「dokku技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能