- Docker Machine + Docker
- curl
- A Virtualbox-driven Docker Machine called "default"
docker-machine create --driver virtualbox default
(this is the default with Docker toolkit).
The git.io URL (https://git.io/v2tb5) is a shortened form of the raw url of the plist.
$ curl -sL https://git.io/v2tb5 | \
sed -e "s?{{docker-machine}}?$(which docker-machine)?" \
-e "s?{{machine-name}}?$(echo $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