Skip to content

Tiny container with socat binary. Useful for running as sidecar.

Notifications You must be signed in to change notification settings

koen92/docker-socat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

docker-socat

Tiny container with socat binary. Useful for running as sidecar

Example for routing arbritrary TCP traffic trough a corporate proxy:

# docker run -p 8080:8080 --entrypoint=/bin/socat koen92/docker-socat TCP-listen:8080,reuseaddr,forever,fork PROXY:INSERT_PROXY_HOST:DESTINATION_HOST:DESTINATION_PORT,proxyport=INSERT_PROXY_PORT,forever

For quick debugging, busybox is included. You can start this container with a debug shell with this command:

# docker run -ti --entrypoint=/bin/busybox koen92/docker-socat

About

Tiny container with socat binary. Useful for running as sidecar.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published