Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 492 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 492 Bytes

Docker-aliases

Handy docker aliases

Setup

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!

Aliases

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]