https://github.com/funnyzak/snell-server-docker
A Snell Server Docker Image, Supports amd64, arm64, arm/v7, and 386 architectures.
https://github.com/funnyzak/snell-server-docker
docker docker-image snell snell-server surge
Last synced: 3 months ago
JSON representation
A Snell Server Docker Image, Supports amd64, arm64, arm/v7, and 386 architectures.
- Host: GitHub
- URL: https://github.com/funnyzak/snell-server-docker
- Owner: funnyzak
- License: mit
- Created: 2020-04-14T09:44:29.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-11-29T13:59:44.000Z (6 months ago)
- Last Synced: 2025-03-14T15:54:37.191Z (3 months ago)
- Topics: docker, docker-image, snell, snell-server, surge
- Language: Dockerfile
- Homepage:
- Size: 23.4 KB
- Stars: 25
- Watchers: 1
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Snell Server
> This repository is no longer maintained. The latest built images can be found in the [Docker Release](https://github.com/funnyzak/docker-release?tab=readme-ov-file#snell-server). You can [create a new issue](https://github.com/funnyzak/docker-release/issues) on the repository if you have any questions.
[](https://hub.docker.com/r/funnyzak/snell-server/)
[](https://hub.docker.com/r/funnyzak/snell-server/)
[](https://hub.docker.com/r/funnyzak/snell-server/)
[](https://hub.docker.com/r/funnyzak/snell-server/)This image is built for [snell server](https://manual.nssurge.com/others/snell.html), which is a lean encrypted proxy protocol. If you want to use **Snell Client**, please download from [NSSurge](https://nssurge.com/).
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
```bash
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:
```bash
# 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:
```yaml
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
- [Snell Server](https://manual.nssurge.com/others/snell.html)
## License
[MIT](LICENSE)