Docker-Machine Lazy Loading
Like many, I use docker-machine (installed via
Docker Toolbox) to develop Docker
images on OSX. I am terrible about remembering to launch the docker-machine VM
ahead of time, and I don’t like having STDERR output or delays from launching
new shell tabs, so I wrote a quick lazy-load function inspired by
Spacemacs.