Sign inSign up

donuk/portforwarding

By donuk

Updated almost 2 years ago

Locally forward incoming requests to another host at the tcp level using nginx stream forwarding

Image
Networking
Web servers
0

507

donuk/portforwarding repository overview

Also on: https://github.com/donuk/docker-portforwarder

Run as a reverse proxy to hub.docker.com:

docker run -p 80:80 -p 443:443 -e PORT_80=hub.docker.com -e PORT_443=hub.docker.com --rm donuk/portforwarding 

Serve hub.docker.com over http locally on port 2000:

docker run -p 2000:2000 -e PORT_2000=hub.docker.com:80 --rm donuk/portforwarding 

Tag summary

Content type

Image

Digest

sha256:745a5ad73

Size

69.6 MB

Last updated

almost 2 years ago

docker pull donuk/portforwarding