Handy docker aliases
Copy the .docker_aliases to your home directory (~).
Edit your ~/.bash_profile and reference the .docker_aliases
file like in the example .bash_profile
.
Restart your terminal tab or run source ~/.bash_profile
. Happy Dockering!
Please add more for your own convenience
- dklf = docker_logs [image/name]
- dkex = docker_exec [image/name]
- dkps = docker ps
- dkrm= docker rm [container id/name]
- dkrmi= docker rmi [image]