Skip to content

Instantly share code, notes, and snippets.

@fltd
Last active July 15, 2017 21:47
Show Gist options
  • Save fltd/a680a674b89dea0756b0e97a6ad3d362 to your computer and use it in GitHub Desktop.
Save fltd/a680a674b89dea0756b0e97a6ad3d362 to your computer and use it in GitHub Desktop.
socat-tcp-proxy-for-docker-on-mac
#!/bin/sh
docker run --restart=always -d -v /var/run/docker.sock:/var/run/docker.sock -p 2376:2375 bobrik/socat TCP4-LISTEN:2375,fork,reuseaddr UNIX-CONNECT:/var/run/docker.sock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment