2015-10-14 05:29:38 -04:00
# Remote Commands
2014-10-04 04:24:22 -04:00
2014-11-27 15:09:46 -05:00
Dokku commands can be run over ssh. Anywhere you would run `dokku <command>` , just run `ssh -t dokku@dokku.me <command>`
2014-10-04 04:24:22 -04:00
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:
```
2014-11-27 15:09:46 -05:00
Host dokku.me
2014-10-04 04:24:22 -04:00
RequestTTY yes
```
2015-02-06 21:59:34 -08:00
## 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.
```shell
2015-02-09 16:59:07 -08:00
--quiet suppress output headers
--trace enable DOKKU_TRACE for current execution only
2015-02-06 21:59:34 -08:00
--rm|--rm-container remove docker container after successful dokku run <app> <command>
2015-02-09 16:59:07 -08:00
--force force flag. currently used in apps:destroy
2015-02-06 21:59:34 -08:00
```