https://github.com/docksal/service-socat
Socat image to proxy docker sock.
https://github.com/docksal/service-socat
Last synced: about 1 year ago
JSON representation
Socat image to proxy docker sock.
- Host: GitHub
- URL: https://github.com/docksal/service-socat
- Owner: docksal
- Created: 2017-01-17T15:19:30.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-10T19:49:48.000Z (about 9 years ago)
- Last Synced: 2024-04-13T21:54:55.136Z (about 2 years ago)
- Homepage:
- Size: 1000 Bytes
- Stars: 10
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker.sock proxy #
Exposes `/var/run/docker.sock` on `tcp://docker-sock-proxy:2375`
### Usage ###
```
docker run -v /var/run/docker.sock:/var/run/docker.sock -d --restart=always --name docker-sock-proxy docksal/socat
```
Option to allow remote connections to the host (without TLS) - **USE AT YOUR OWN RISK**
```
docker run -v /var/run/docker.sock:/var/run/docker.sock -d --restart=always --privileged -p 2375:2375 --name docker-sock-proxy docksal/socat
```
This will allow external **unsecured** connections to the Docker daemon on the host on port `2375`.