百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
D

dokku-cli

> 开发工具
开源

让您的 Dokku 更像 Heroku

184 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

让您的 Dokku 更像 Heroku

Dokku CLI :anchor:

Dokku CLI is a zero config command line tool for the official version of Dokku.

Installation

$ gem install dokku-cli

Usage

Dokku CLI reads the domain of your Dokku server from your git remote called dokku and requires no configuration. Change in your application directory and run dokku

Remote Commands

dokku run    # Run a one-off command in the environment of the app

Configuration Management

dokku config                                    # Display the app's environment variables
dokku config:get KEY                            # Display an environment variable value
dokku config:set KEY1=VALUE1 [KEY2=VALUE2 ...]  # Set one or more environment variables
dokku config:set:file             # Set one or more environment variables from file
dokku config:unset KEY1 [KEY2 ...]              # Unset one or more environment variables

Process/Container Management

dokku ps           # List processes running in app container(s)
dokku ps:rebuild   # Rebuild the app
dokku ps:restart   # Restart the app container
dokku ps:start     # Start the app container
dokku ps:stop      # Stop the app container

Add SSH key

dokku keys:add .ssh/id_rsa.pub Description

Multiple Remote Apps/Servers (e.g. Staging)

You can use the global option --remote to run commands on a different server/app from a remote branch. For more details see heroku's guide for multiple environments for an app.

dokku run rails c --remote=staging
dokku config --remote=staging

All commands

…

Contributing

  1. Fork it ( https://github.com/[my-github-username]/dokku-cli/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rubyclidokkuherokuruby

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类开发工具
定价开源

> 相关工具

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具