Files
dokku/docs/remote-commands.md
Jose Diaz-Gonzalez f80ecaf22a Remove bad section from remote-commands page
This is now documented in the one-off-processes section
2015-10-14 05:30:41 -04:00

924 B

Remote Commands

Dokku commands can be run over ssh. Anywhere you would run dokku <command>, just run ssh -t dokku@dokku.me <command> The -t is used to request a pty. It is highly recommended to do so. To avoid the need to type the -t option each time, simply create/modify a section in the .ssh/config on the client side, as follows:

Host dokku.me
RequestTTY yes

Behavioral modifiers

Dokku also supports certain command-line arguments that augment it's behavior. If using these over ssh, you must use the form ssh -t dokku@dokku.me -- <command> in order to avoid ssh interpretting dokku arguments for itself.

--quiet                suppress output headers
--trace                enable DOKKU_TRACE for current execution only
--rm|--rm-container    remove docker container after successful dokku run <app> <command>
--force                force flag. currently used in apps:destroy