{"id":16804647,"url":"https://github.com/neverbehave/shadowsocks-libev-docker","last_synced_at":"2026-04-13T16:35:00.215Z","repository":{"id":104723568,"uuid":"246431994","full_name":"NeverBehave/shadowsocks-libev-docker","owner":"NeverBehave","description":"Shadowsocks libev docker with plugin","archived":false,"fork":false,"pushed_at":"2020-03-11T03:46:38.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-10T19:03:06.681Z","etag":null,"topics":["docker","shadowsocks","shadowsocks-libev","v2ray","v2ray-plugin"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/neverbehave/shadowsocks-libev-docker","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NeverBehave.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-10T23:41:38.000Z","updated_at":"2020-03-11T03:49:38.000Z","dependencies_parsed_at":"2023-07-12T09:00:56.984Z","dependency_job_id":null,"html_url":"https://github.com/NeverBehave/shadowsocks-libev-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeverBehave%2Fshadowsocks-libev-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeverBehave%2Fshadowsocks-libev-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeverBehave%2Fshadowsocks-libev-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeverBehave%2Fshadowsocks-libev-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NeverBehave","download_url":"https://codeload.github.com/NeverBehave/shadowsocks-libev-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243989711,"owners_count":20379648,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","shadowsocks","shadowsocks-libev","v2ray","v2ray-plugin"],"created_at":"2024-10-13T09:45:39.025Z","updated_at":"2026-04-13T16:34:55.175Z","avatar_url":"https://github.com/NeverBehave.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shadowsocks-libev Docker Image\n\n基于 Based on: https://github.com/teddysun/shadowsocks_install/tree/master/docker/shadowsocks-libev\n\n## Changes 修改\n\n- 适合于集群使用，通过环境变量生成配置，无需映射文件\n\n    Suitable for cluster/k8s, generating config from environment variables, no volumn mapping required.\n\n- 原`Dockerfile`包含从私人镜像站下载的二进制文件`dl.lamp.sh`，改为从`github`获取\n\n  The origin dockerfile download binary file from private mirror center `dl.lamp.sh`, changed to download from `github`\n\n## Intro \n\n[shadowsocks-libev][1] is a lightweight secured socks5 proxy for embedded devices and low end boxes.\n\nIt is a port of [shadowsocks][2] created by @clowwindy maintained by @madeye and @linusyang.\n\nBased on alpine with latest version [shadowsocks-libev](https://github.com/shadowsocks/shadowsocks-libev) and [simple-obfs](https://github.com/shadowsocks/simple-obfs) and [v2ray-plugin](https://github.com/shadowsocks/v2ray-plugin).\n\nDocker images are built for quick deployment in various computing cloud providers.\n\nFor more information on docker and containerization technologies, refer to [official document][3].\n\n## Prepare the host\n\nIf you need to install docker by yourself, follow the [official installation guide][4].\n\n## Pull the image\n\n```bash\n$ docker pull teddysun/shadowsocks-libev\n```\n\nThis pulls the latest release of shadowsocks-libev.\n\nIt can be found at [Docker Hub][5].\n\n## Start a container\n\nSet Environment Variables, check the table below.\n\n Only required values are enforced or container won't work.\n\n### Environment Variables\n\n| Name        | Accept Value              | Required | Default                |\n| ----------- | ------------------------- | -------- | ---------------------- |\n| SERVER      | IP Address                |          | 0.0.0.0                |\n| SERVER_PORT | Number                    |          | 9000                   |\n| PASSWORD    | String                    | True     |                        |\n| TIMEOUT     | Number                    |          | 300                    |\n| METHOD      | [Check Here][7]           |          | chacha20-ietf-poly1305 |\n| FAST_OPEN   | Boolean                   |          | true                   |\n| NAMESERVER  | IP Addresses              |          | 8.8.8.8,8.8.4.4        |\n| MODE        | tcp, udp, tcp_and_udp     |          | tcp_and_udp            |\n| PLUGIN      | obfs-server, v2ray-plugin |          |                        |\n| PLUGIN_OPTS | Check Below               |          |                        |\n\nIf you want to enable **simple-obfs**, a sample is:\n\n```\n-e PLUGIN=\"obfs-server\" -e PLUGIN_OPTS=\"obfs=tls\"\n```\n\nIf you want to enable **v2ray-plugin**, a sample is:\n\n```\n-e PLUGIN=\"v2ray-plugin\" -e PLUGIN_OPTS=\"server\"\n```\n\nFor more v2ray-plugin configrations please visit [v2ray-plugin usage][6].\n\nThis container will generate config based on the `env` provided.\n\nThere is an example to start a container that listens on `9000` (both TCP and UDP):\n\n```bash\n$ docker run -d -p 9000:9000 -p 9000:9000/udp --name ss-libev --restart=always -e PASSWORD=YOUR_PASSWORD neverbehave/shadowsocks-libev\n```\n\n**Warning**: The port number must be same as configuration and opened in firewall.\n\n[1]: https://github.com/shadowsocks/shadowsocks-libev\n[2]: https://shadowsocks.org/en/index.html\n[3]: https://docs.docker.com/\n[4]: https://docs.docker.com/install/\n[5]: https://hub.docker.com/r/neverbehave/shadowsocks-libev/\n[6]: https://github.com/shadowsocks/v2ray-plugin#usage\n[7]: https://github.com/shadowsocks/shadowsocks-libev#usage","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneverbehave%2Fshadowsocks-libev-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneverbehave%2Fshadowsocks-libev-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneverbehave%2Fshadowsocks-libev-docker/lists"}