Created
December 28, 2016 13:03
-
-
Save mmourafiq/9e758310b4e9d406ebcb2d7f5380da39 to your computer and use it in GitHub Desktop.
MacOS script to start docker sock for Jetbrains docker integration with Docker for Mac.
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 Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>docker.sock</string> | |
<!-- This file should be ~/Library/LaunchAgents/docker.sock.plist --> | |
<!-- Start with: launchctl load ~/Library/LaunchAgents/docker.sock.plist --> | |
<!-- Configure jetbrains with tcp://localhost:2375 --> | |
<key>OnDemand</key> | |
<false/> | |
<key>UserName</key> | |
<string>aReasonableUserName</string> | |
<key>GroupName</key> | |
<string>aReasonableGroup</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/bin/socat</string> | |
<string>TCP-LISTEN:2375,reuseaddr,fork,bind=localhost</string> | |
<string>UNIX-CONNECT:/var/run/docker.sock</string> | |
</array> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment