This is a simple launchd config that will start your default
docker-machine on startup. You can customize the machine that is started by updating lines 11 and 16 with the correct machine name.
- Copy the file
com.docker.machine.default.plist
below to~/Library/LaunchAgents/com.docker.machine.default.plist
. - Run the following in a terminal:
launchctl load ~/Library/LaunchAgents/com.docker.machine.default.plist
- Profit!