1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/shadowsocks/libev/README.md
2016-03-21 12:55:29 +08:00

1.8 KiB

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