1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-10 11:10:27 +02:00
dockerfiles/shadowsocks/libev
2017-02-02 11:28:00 +08:00
..
docker-compose.yml expose udp port 2016-03-25 19:52:16 +08:00
Dockerfile update shadowsocks-libev 2017-02-02 11:28:00 +08:00
README.md update shadowsocks-libev 2017-02-02 11:28:00 +08:00

shadowsocks-libev

⚠️ This docker image becomes obsolete, and has moved to https://github.com/EasyPi/docker-shadowsocks-libev.

shadowsocks-libev is a lightweight secured socks5 proxy for embedded devices and low end boxes.

It is a port of shadowsocks created by @clowwindy maintained by @madeye and @linusyang.

Compared to vimagick/shadowsocks, vimagick/shadowsocks-libev uses less CPU/Memory/Disk.

docker-compose.yml

shadowsocks:
  image: vimagick/shadowsocks-libev
  ports:
    - "8388:8388"
  environment:
    - PASSWORD=9MLSpPmNt
  restart: always

Please choose a strong password to protect your server.

CPU/Memory Usage

$ docker stats shadowsocks_shadowsocks_1

# vimagick/shadowsocks
CONTAINER                   CPU %               MEM USAGE/LIMIT     MEM %               NET I/O
shadowsocks_shadowsocks_1   0.05%               16.56 MiB/741 MiB   2.23%               117.9 KiB/648 B

# vimagick/shadowsocks-libev
CONTAINER                   CPU %               MEM USAGE/LIMIT     MEM %               NET I/O
shadowsocks_shadowsocks_1   0.00%               476 KiB/741 MiB     0.06%               2.334 MiB/2.341 MiB

Disk Usage

$ docker images

REPOSITORY                   TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
vimagick/shadowsocks-libev   latest              a36f480e696a        8 minutes ago       15.1 MB
vimagick/shadowsocks         latest              35650c84852a        57 minutes ago      51.25 MB

Raspberry Pi

To setup a shadowsocks client on Raspberry Pi, please use easypi/shadowsocks-libev-arm.