- Docker Machine + Docker
- curl
- A Virtualbox-driven Docker Machine whose name is store in an env var
$DOCKER_MACHINE_NAME
.
http://git.io/vcj2P
is a shortened url for the raw plist file.
$ curl -sL http://git.io/vcj2P | \
sed -e "s?{{docker-machine}}?$(which docker-machine)?" \
-e "s?{{docker-machine-name}}?$DOCKER_MACHINE_NAME?" \
-e "s?{{user-path}}?$(echo $PATH)?" \
>~/Library/LaunchAgents/com.docker.machine.default.plist && \
launchctl load ~/Library/LaunchAgents/com.docker.machine.default.plist