@ -0,0 +1,8 @@
RUN apk add socat \
&& rm -rf /var/cache/apk
@ -0,0 +1,9 @@
A simple docker image based on alpine, which basically only socat.
It can be used for example to proxy tcp connections to a socket and vice versa for bridging between network namespaced and host networking.
This was especially developed to access node_exporter running as --net=host from a prometheus within a regular Docker network.
UID:GID is random, but consistent across different socat-docker containers for effortless sharing of sockets via bind mounts.
@ -0,0 +1,4 @@
docker build -t registry.lubiland.de/socat .
docker push registry.lubiland.de/socat