Skip to content

Instantly share code, notes, and snippets.

@tranphuoctien
Created May 11, 2018 04:46
Show Gist options
  • Save tranphuoctien/3516055643bd09c1d735dd0609abe968 to your computer and use it in GitHub Desktop.
Save tranphuoctien/3516055643bd09c1d735dd0609abe968 to your computer and use it in GitHub Desktop.

##Add aliases into our ~/.bash_profile Place these lines into your .bash_profile

alias psql='docker run --rm -it psql'
alias redis-cli='docker run --rm -it redis-cli'

##Restart your terminal and that's it You can test it by running this:

redis-cli --help
psql --help
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment