Skip to content

Instantly share code, notes, and snippets.

@yleflour yleflour/.szhrc
Created Jul 12, 2016

What would you like to do?
Docker aliases
alias docker-switch='function _switch(){eval $(docker-machine env $1);echo "Switched to $1 machine"};_switch'
alias docker-bash='function _bash(){docker-compose run $1 bash };_bash'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.