Created
March 4, 2017 19:18
-
-
Save katzefudder/afee2b0213b70e4152ce242528be9ef6 to your computer and use it in GitHub Desktop.
Docker API over HTTP via socat (OSX)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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>katzefudder.socat_launcher</string> | |
<key>Disabled</key> | |
<false/> | |
<key>RunAtLoad</key> | |
<true/> | |
<key>KeepAlive</key> | |
<true/> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/bin/socat</string> | |
<string>TCP-LISTEN:2376,range=127.0.0.1/32,reuseaddr,fork</string> | |
<string>UNIX:/var/run/docker.sock</string> | |
</array> | |
<key>StandardErrorPath</key> | |
<string>/Library/Logs/socat_docker.log</string> | |
<key>StandardOutPath</key> | |
<string>/Library/Logs/socat_docker.log</string> | |
<key>StartInterval</key> | |
<integer>30</integer> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment