Skip to content

Instantly share code, notes, and snippets.

@dims
Created December 22, 2014 03:30
Show Gist options
  • Select an option

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

Select an option

Save dims/f4efd63af8b2216dff0e to your computer and use it in GitHub Desktop.
fwd docker unix socket via ssh
sudo socat "UNIX-LISTEN:/var/run/docker.sock,reuseaddr,fork" EXEC:'ssh -i /Users/dims/.ssh/id_dsa [email protected] 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