Skip to content

Instantly share code, notes, and snippets.

@binux
Last active Oct 27, 2016
Embed
What would you like to do?
A script to run proxy in docker. `/bin/bash -c "$(wget -q -O - https://gist.github.com/binux/60c3d22070f18bf396a85c43c43fb2bd/pyproxy.sh)" bash --bind=0.0.0.0`
#!/bin/bash
python -c "$(wget -O - https://bootstrap.pypa.io/get-pip.py)"
python -m pip install pyproxy
python -c "from pyproxy import main;main();" $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment