您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
lub 24bae5eb5a | 3 年前 | |
---|---|---|
Dockerfile | 3 年前 | |
LICENSE.md | 3 年前 | |
README.md | 3 年前 | |
update.sh | 3 年前 |
README.md
socat-docker
A simple Docker image based on docker.io/alpine
, which otherwise only contains socat.
It can be used for example to proxy TCP connections to a Unix socket and vice versa, which is useful for bridging between namespaced and host networking.
This was developed specificially to access node_exporter running as --network=host
from a Prometheus running in a regular Docker network.
UID:GID in the image is random, but consistent across different socat-docker containers to ensure effortless sharing of sockets via bind mounts.