Skip to content
Oleg Kluchkin edited this page Jan 30, 2019 · 10 revisions

Docker

Building image

docker build --network=host --tag pyproxy .

Running

docker run --detach --restart=unless-stopped --publish 1234:1080 --mount type=bind,source=/etc/pyproxy.yml,target=/opt/proxy/config.yml pyproxy

1080 is internal port, 1234 - external

Clone this wiki locally