Sign inSign up

maxduke/ss-local-with-conf-dir

By maxduke

Updated over 4 years ago

Shadowsocks-libev client with conf dir

Image
0

100K+

maxduke/ss-local-with-conf-dir repository overview

ss-local-with-conf-dir

Docker image for ss-local running with conf dir

Docker Pulls Docker Stars Docker Automated

Usage

  1. Prepare config and download directories with following commands.

    # Create config dir
    mkdir /storage/ss-local/conf
    
  2. Put all you ss-local conf file in that floder.

    copy *.conf /storage/ss-local/conf
    
  3. Run following command to start ss-local instances

    docker run \
      -d \
      --network host \
      --name ss-local \
      -v /storage/ss-local/conf:/ss-local/conf \
      maxduke/ss-local-with-conf-dir
    

Note:

Parameters

The parameters are split into two halves, separated by a colon, the left hand side representing the host and the right the container side. For example with a port -p external:internal - what this shows is the port mapping from internal to external of the container. So -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080 http://192.168.x.x:8080 would show you what's running INSIDE the container on port 80.

  • --network host - run as host mode, so that port mapping is not needed
  • -v /storage/ss-local/conf:/ss-local/conf - where ss-local config files that ss-local should run with

It is based on alpine linux, for shell access whilst the container is running do docker exec -it maxduke/ss-local-with-conf-dir /bin/sh.

Tag summary

Content type

Image

Digest

Size

10.9 MB

Last updated

over 4 years ago

docker pull maxduke/ss-local-with-conf-dir