Sign inSign up

moexmen/socat

By moexmen

Updated over 7 years ago

Image
0

723

moexmen/socat repository overview

Socat

Yet another socat container

Usage

Direct traffic from the $CONTAINER_PORT to the $HOST_PORT

docker run --rm -e CONTAINER_PORT=$CONTAINER_PORT -e HOST_PORT=3000 moexmen/socat

By default, socat will forward all the traffic to the host machine.

Use the $TARGET_HOST variable to redirect to a specific host instead

docker run --rm -e CONTAINER_PORT=$CONTAINER_PORT -e HOST_PORT=$HOST_PORT -e TARGET_HOST=$TARGET_HOST moexmen/socat

Tag summary

Content type

Image

Digest

Size

3 MB

Last updated

over 7 years ago

docker pull moexmen/socat