SOCAT端口转发

socat tcp4-listen:4342,reuseaddr,fork unix-connect:/var/run/docker.sock
socat TCP4-LISTEN:188,reuseaddr,fork TCP4:192.168.1.22:123

docker run -d –restart=always \
-p 3308:3308 \
alpine/socat \
TCP4-LISTEN:3308,fork,reuseaddr TCP4:172.16.1.2:3306