From my computer:
$ ssh -t [email protected] run my-app ls
++ id -un
+ [[ dokku != \d\o\k\k\u ]]
+ case "$1" in
++ ls -d /var/lib/dokku/plugins/00_dokku-standard/commands /var/lib/dokku/plugins/backup/commands /var/lib/dokku/plugins/config/commands /var/lib/dokku/plugins/git/commands /var/lib/dokku/plugins/nginx-vhosts/commands
+ for script in '$(ls -d /var/lib/dokku/plugins/*/commands)'
+ /var/lib/dokku/plugins/00_dokku-standard/commands run my-app ls
+ case "$1" in
+ [[ -z my-app ]]
+ APP=my-app
+ IMAGE=app/my-app
+ [[ ! -d /home/dokku/my-app ]]
+ shift 2
++ :
++ pluginhook docker-args my-app
+ DOCKER_ARGS=
+ docker run -i -t app/my-app /exec ls
2014/03/18 07:30:53 exec: "/exec": stat /exec: no such file or directory
Connection to example.com closed.