File size: 481 Bytes
1100651
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
# Pull the Shadowsocks Docker image
sudo docker pull shadowsocks/shadowsocks-libev

# Run the Shadowsocks Docker container on port 7860
sudo docker run -d --name ss-server -p 7860:8388 -e PASSWORD=your_password -e SERVER_PORT=7860 shadowsocks/shadowsocks-libev

# Retrieve the public IP address of the server
SERVER_IP=$(curl -s ifconfig.me)

# Display the Shadowsocks server IP and port
echo "Your Shadowsocks server IP is: $SERVER_IP"
echo "Your Shadowsocks server port is: 7860"