Skip to content

Instantly share code, notes, and snippets.

@Starefossen
Last active August 29, 2015 13:56
Show Gist options
  • Save Starefossen/8914105 to your computer and use it in GitHub Desktop.
Save Starefossen/8914105 to your computer and use it in GitHub Desktop.
Autoboot boot2docker on system startup.
  1. Remember to change /User/name/bin/ to the correct path where boot2docker is installed.
  2. Copy the content of the file above to ~/Library/LaunchAgents/com.github.starfossen.boot2docker.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.github.starfossen.boot2docker</string>
<key>StandardOutPath</key>
<string>/Users/name/bin/boot2docker.log</string>
<key>StandardErrorPath</key>
<string>/Users/name/bin/boot2docker.err</string>
<key>ProgramArguments</key>
<array>
<string>/Users/name/bin/boot2docker</string>
<string>up</string>
</array>
<key>Debug</key>
<true/>
<key>KeepAlive</key>
<false/>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment