Installing docker-toolbox on mac OSX Jan 11 2018
If you use iTerm you'll probably need to change the file:
1
/Applications/Docker/Docker Quickstart Terminal.app/Contents/Resources/Scripts/iterm.scpt
Following the code in this gist
Install bash_completion from mac ports or using homebrew Here I'll show the autocomplete files you need to add to your autocomplete.d directory (check where ports or brew installed your autocomplete.d)
-
- autocomplete for docker:
- go to this URL:
https://raw.githubusercontent.com/docker/cli/master/contrib/completion/bash/docker
- autocomplete for docker-composer:
https://raw.githubusercontent.com/docker/compose/$(docker-compose version --short)/contrib/completion/bash/docker-compose
- autocomplete for docker-machine:
-
1
sudo curl -L https://raw.githubusercontent.com/docker/machine/v0.13.0/contrib/completion/bash/docker-machine.bash -o `brew --prefix`/etc/bash_completion.d/docker-machine
-
- go to this URL:
- autocomplete for docker:
** If you want to check what else I'm currently doing, be sure to follow me on twitter @rderik or subscribe to the newsletter. If you want to send me a direct message, you can send it to derik@rderik.com.