mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-06-07 08:31:55 +00:00
add ss
This commit is contained in:
parent
e961ffcf71
commit
e4cb5a89d4
25
shadowsocks/README.md
Normal file
25
shadowsocks/README.md
Normal file
@ -0,0 +1,25 @@
|
||||
# Shadowsocks
|
||||
|
||||
__Across the Great Wall, we can reach every corner in the world.__
|
||||
|
||||
## Run as server
|
||||
```
|
||||
docker run \
|
||||
-d \
|
||||
--restart always \
|
||||
--publish 1080:1080 \
|
||||
--name ssserver \
|
||||
newnius/shadowsocks:server-1.2.1 \
|
||||
ssserver -p 1080 -k PASSWORD -m METHOD
|
||||
```
|
||||
|
||||
## Run as client
|
||||
```
|
||||
docker run \
|
||||
-d \
|
||||
--restart always \
|
||||
--publish 1081:1081 \
|
||||
--name sslocal \
|
||||
newnius/shadowsocks:client-1.2.1 \
|
||||
sslocal -s SERVER_IP -p 1080 -l 1081 -k PASSWORD -m METHOD
|
||||
```
|
7
shadowsocks/server-1.2.1/Dockerfile
Normal file
7
shadowsocks/server-1.2.1/Dockerfile
Normal file
@ -0,0 +1,7 @@
|
||||
FROM alpine:3.7
|
||||
|
||||
MAINTAINER Newnius <newnius.cn@gmail.com>
|
||||
|
||||
RUN apk add --no-cache bash
|
||||
|
||||
ADD shadowsocks-local /usr/bin/
|
Loading…
Reference in New Issue
Block a user