Skip to content

Instantly share code, notes, and snippets.

@pasdam
pasdam / docker-bash-completion.md
Last active December 1, 2018 07:42 — forked from rkuzsma/docker-bash-completion.md
How to configure Bash Completion on Mac for Docker and Docker-Compose

How to configure Bash Completion on Mac for Docker and Docker-Compose

Run:

brew install bash-completion

Add the following lines to your ~/.bash_profile:

 if [ -f $(brew --prefix)/etc/bash_completion ]; then