Last active
June 29, 2018 19:05
-
-
Save trigun117/1769d01bcce9884aff5a6cc82fff2bf2 to your computer and use it in GitHub Desktop.
Install docker and run mtproto
This file contains 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
sudo sh -c 'apt-get update | |
apt-get -y install \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
gnupg2 \ | |
software-properties-common | |
curl -fsSL https://download.docker.com/linux/$(. /etc/os-release; echo "$ID")/gpg | apt-key add - | |
add-apt-repository \ | |
"deb [arch=amd64] https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") \ | |
$(lsb_release -cs) \ | |
edge" | |
apt-get update | |
apt-get install -y docker-ce | |
docker run -d -p443:443 --restart=always -v proxy-config:/data telegrammessenger/proxy:latest' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment