Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jamesandariese/0e9736a108fc3584e30fae87edfebeb5 to your computer and use it in GitHub Desktop.
Save jamesandariese/0e9736a108fc3584e30fae87edfebeb5 to your computer and use it in GitHub Desktop.
Making docker socket available to multiple uids and gids
docker run -v /var/run/docker.sock:/var/run/docker.sock -v /var/run/docker.sock.virtual:/var/run/docker.sock.virtual -ti alpine/socat unix-listen:/var/run/docker.sock.virtual/1001,fork,user=1000,group=1001 unix-connect:/var/run/docker.sock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment