Skip to content

Instantly share code, notes, and snippets.

@dims
Created October 15, 2014 01:22
Show Gist options
  • Select an option

  • Save dims/ca0ac30f7106e1af15a8 to your computer and use it in GitHub Desktop.

Select an option

Save dims/ca0ac30f7106e1af15a8 to your computer and use it in GitHub Desktop.
Forward Docker unix socket
sudo socat "UNIX-LISTEN:/var/run/docker.sock,reuseaddr,fork" EXEC:'ssh stack@bigblue -i /Users/dims/.ssh/id_dsa socat STDIO UNIX-CONNECT\:/var/run/docker.sock'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment