Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
D

dokku-cli

> 开发工具
Open source

Makes your Dokku even more Heroku

184 stars0 likes0 views
WebsiteGitHub

About

Makes your Dokku even more 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 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rubyclidokkuherokuruby

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category开发工具
PricingOpen source

> Related tools

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