Last active
February 19, 2017 11:16
-
-
Save sebble/a999ece3836d2fb8f6fe96645958398d to your computer and use it in GitHub Desktop.
Dokku 'alias' for host running Dokku as a container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dokku() { docker exec -i "$(docker ps|awk '$2=="sebble/dokku"{print $1}'|head -1)" sudo dokku "$@"; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment