You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

10 lines
546 B
Markdown

# 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.