# アプリ配下でコマンドを実行
dokku run <cmd> # Run a one-off command in the environment of the app
# よく使いそうなコマンド
dokku ssh # Start an SSH session as root user
dokku logs [-t] # Display logs for the app (-t follows)
dokku help [COMMAND] # Describe available commands or one specific command
# 設定変更系のコマンド
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 <path/to/file> # Set one or more environment variables from file
dokku config:unset KEY1 [KEY2 ...] # Unset one or more environment variables
# プロセス/コンテナ系のコマンド
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 nginx:build # (Re)builds nginx config for the app
dokku open # Open the app in your default browser
dokku url # Show the first URL for the app
dokku urls # Show all URLs for the app