##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