Sign inSign up

neoteched/socat

By neoteched

•Updated over 9 years ago

socat

Image
0

226

neoteched/socat repository overview

⁠Socat Docker Image

This image includes the useful command socat to create a connection to external service.

⁠Usage

Run as socat on host system:

docker run --rm --name socat_mysql \
    -p 3306 -d neoteched/socat \
    TCP4-LISTEN:3306,reuseaddr,fork\
    TCP-CONNECT:the-real-mysql-host:3306

Then you can --link to this container as service.

docker run --name pma -d \
    --link socat_mysql:db -p 8080:80 \
    phpmyadmin/phpmyadmin

Tag summary

Content type

Image

Digest

Size

2.8 MB

Last updated

over 9 years ago

docker pull neoteched/socat