Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save binarytemple-external/9b4b449cf827a14dd4aa821b7c8379d3 to your computer and use it in GitHub Desktop.
Save binarytemple-external/9b4b449cf827a14dd4aa821b7c8379d3 to your computer and use it in GitHub Desktop.
socat exposing docker control socket
socat -d -d TCP-L:2375,fork UNIX:/var/run/docker.sock
socat -v UNIX-LISTEN:/tmp/fake,fork UNIX-CONNECT:/var/run/docker.sock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment