snell-server-docker
snell-server-docker copied to clipboard
A Snell Server Docker Image, Supports amd64, arm64, arm/v7, and 386 architectures.
Snell Server
This repository is no longer maintained. The latest built images can be found in the Docker Release. You can create a new issue on the repository if you have any questions.
This image is built for snell server, which is a lean encrypted proxy protocol. If you want to use Snell Client, please download from NSSurge.
This image supports linux/amd64, linux/arm64, linux/arm/v7 and linux/386 architecture. The latest version is v4.1.1.
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.
Docker Pull
docker pull funnyzak/snell-server
# GHCR
docker pull ghcr.io/funnyzak/snell-server
# Aliyun
docker pull registry.cn-beijing.aliyuncs.com/funnyzak/snell-server
Docker Run
Your can run this image with the following command:
# One line command
docker run -d --name snell-server --restart always -p 12303:6180 -e PSK="5G0H4qdf32mEZx32t" funnyzak/snell-server
# Or with environment variables
docker run -d --name snell-server --restart always \
-e PSK="5G0H4qdf32mEZx32t" \
-e TZ="Asia/Shanghai" \
-e IPV6="false" \
-e PORT=6180 \
-p 12303:6180 funnyzak/snell-server:latest
# Echo config file
docker exec -it snell-server cat /etc/snell-server.conf
Or you can use docker-compose to run this image:
version: '3'
services:
snell:
image: funnyzak/snell-server
container_name: snell-server
environment:
PSK: 5G0H4qdf32mEZx32t
TZ: Asia/Shanghai
IPV6: false
PORT: 6180
restart: always
ports:
- 12303:6180
Reference
License
MIT