Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/godin/docker-proxy
:whale: Transparent proxy for docker containers.
https://github.com/godin/docker-proxy
Last synced: 26 days ago
JSON representation
:whale: Transparent proxy for docker containers.
- Host: GitHub
- URL: https://github.com/godin/docker-proxy
- Owner: Godin
- Created: 2015-09-04T12:22:32.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-04T15:03:33.000Z (about 9 years ago)
- Last Synced: 2023-03-11T16:07:47.633Z (over 1 year ago)
- Language: Shell
- Homepage: https://hub.docker.com/r/godin/proxy/
- Size: 137 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-proxy
Transparent proxy for docker containers.## Usage
```
docker run --net host --name proxy -v $HOME/.docker-proxy:/var/spool/squid3 -d proxy
sudo iptables -w -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to 3129
```
On Mac OS X commands should be executed with ```docker-machine ssh```.