Created
April 17, 2018 14:11
-
-
Save SergeAx/954de1b221027e67c9b9832cf8a46493 to your computer and use it in GitHub Desktop.
Installing socks5 proxy via docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
apt-get update | |
apt-get dist-upgrade -y | |
apt-get install -y apt-transport-https ca-certificates curl gnupg2 software-properties-common | |
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - | |
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian/$(lsb_release -cs) stable" | |
apt-get update | |
apt-get install -y docker-ce | |
# Please set non-default credentials | |
# See https://github.com/aspcartman/mysocks | |
docker run --name socks5-proxy -d -p 16100:8080 -e "PROXY_AUTH=user:password" aspcartman/mysocks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment