A minimal Snell Server docker image. If you want to use Snell Client, please download from NSSurge.
This image supports linux/amd64
and linux/arm64
architecture.
The latest surge-server version is v4, which is not compatible with the previous versions like before. Please upgrade both the client (Surge iOS & Surge Mac) and the server binary.
Notice: obfs is NOT supported!
docker pull angribot/snell:latest
Your can run this image with the following command:
# One line command
docker run -d --name snell --restart always -p 12303:6250 -e PSK="5G0H4qdf32mEZx32t" angribot/snell
# Or with environment variables
docker run -d --name snell --restart always \
-e PSK="5G0H4qdf32mEZx32t" \
-p 12303:6250 angribot/snell:latest
# Echo config file
docker exec -it snell cat /root/snell-server.conf
Or you can use docker-compose to run this image:
services:
snell:
image: angribot/snell
container_name: snell
environment:
PSK: 5G0H4qdf32mEZx32t
restart: always
ports:
- 12345:6250