Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
lub 24bae5eb5a | 4 år sedan | |
---|---|---|
Dockerfile | 4 år sedan | |
LICENSE.md | 4 år sedan | |
README.md | 4 år sedan | |
update.sh | 4 år sedan |
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.