Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
MacOS script to start docker sock for Jetbrains docker integration with Docker for Mac.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "">
<plist version="1.0">
<!-- This file should be ~/Library/LaunchAgents/docker.sock.plist -->
<!-- Start with: launchctl load ~/Library/LaunchAgents/docker.sock.plist -->
<!-- Configure jetbrains with tcp://localhost:2375 -->

This comment has been minimized.

Copy link
Owner Author

@billylaing billylaing commented Oct 7, 2016

  1. copy this to ~/Library/LaunchAgents/docker.sock.plist
  2. Update the UserName and GroupName
  3. start with launchctl load ~/Library/LaunchAgents/docker.sock.plist
  4. Configure JetBrains Docker API URL with tcp://localhost:2375 (and make sure to leave the Certificates folder blank)
  5. Success! The socket will be restarted whenever you log in.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.