Skip to content

Instantly share code, notes, and snippets.

@binux
Last active October 27, 2016 09:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save binux/60c3d22070f18bf396a85c43c43fb2bd to your computer and use it in GitHub Desktop.
Save binux/60c3d22070f18bf396a85c43c43fb2bd to your computer and use it in GitHub Desktop.
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