testing-1 / Dockerfile
themtj's picture
Update Dockerfile
1100651 verified
raw
history blame contribute delete
481 Bytes
# 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"