1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-14 11:23:34 +02:00
dockerfiles/shadowsocks/libev
2016-05-01 09:06:20 +08:00
..
docker-compose.yml expose udp port 2016-03-25 19:52:16 +08:00
Dockerfile switch to new domain: easypi.info 2016-05-01 09:06:20 +08:00
README.md upgrade shadowsocks-libev to 2.4.6 2016-04-22 23:42:29 +08:00

shadowsocks-libev

⚠️ This project has been 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.