Skip to content

Instantly share code, notes, and snippets.

@rytsh
Created June 7, 2022 22:25
Show Gist options
  • Select an option

  • Save rytsh/c46f01b05e61e5f16d8d36cb740baea3 to your computer and use it in GitHub Desktop.

Select an option

Save rytsh/c46f01b05e61e5f16d8d36cb740baea3 to your computer and use it in GitHub Desktop.

Revisions

  1. rytsh created this gist Jun 7, 2022.
    1 change: 1 addition & 0 deletions socatDocker.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    docker run --rm -it --name socat -p 2375:2375 -v /var/run/docker.sock:/var/run/docker.sock:ro alpine/socat tcp-listen:2375,fork,reuseaddr unix-connect:/var/run/docker.sock