Dokku commands can be run over ssh. Anywhere you would run
dokku <command>, just run
ssh -t email@example.com <command>
-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:
Run a command in the app environment
It's possible to run commands in the environment of the deployed application:
Dokku also supports certain command-line arguments that augment it's behavior. If using these over ssh, you must use the form
ssh -t firstname.lastname@example.org -- <command>
in order to avoid ssh interpretting dokku arguments for itself.