screenshot
Server
#CentOS 6 rpm -iUvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm yum update -y yum -y install docker-io service docker start chkconfig docker on #CentOS 7、Debian、Ubuntu curl -sSL https://get.docker.com/ | sh systemctl start docker systemctl enable docker
curl -L " https://get.daocloud.io/docker/compose/releases/download/1.24.1/docker-compose- $(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose chmod +x /usr/local/bin/docker-compose
wget https://raw.githubusercontent.com/khvysofq/proxyer/master/docker-compose.yml #Please change the following 1.1.1.1 to your server IP address before running export PROXYER_PUBLIC_HOST=1.1.1.1 docker-compose up -d
#CentOS 6 system service iptables stop chkconfig iptables off #CentOS 7 system systemctl stop firewalld systemctl disable firewalld
client
Copyright notice: This is an original article, and the copyright belongs to Rat's Blog All, please indicate the source for reprinting!
Link to this article: https://www.moerats.com/archives/1026/
If the tutorial needs to be updated, or 404 appears on the related link, you can leave a comment below the article.