Giter Club home page Giter Club logo

Comments (2)

serjs avatar serjs commented on August 16, 2024

Hi!

I haven't answer about best practices method for your request, but in thinking of app functionality I can say that there are no plans for realizing traffic shaping.

What I know and think about, when trying to solve same problem (from the perspective of OPS-way)

  1. In case of orchestration systems you can use CNI plugins
  2. In case of the plain Docker engine, you can use TC side-container, I found https://github.com/lukaszlach/docker-tc, but fortunately I haven't worked example for you. On my main workstation, there are some errors using tc side container. Here is my example
$ docker run -d \    --name docker-tc \                                       
    --network host \
    --cap-add NET_ADMIN \
    --restart always \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -v /var/docker-tc:/var/docker-tc \
    lukaszlach/docker-tc

then

$ docker network create mynet

$ docker run \
-d -p 1080:1080 --net mynet \
-e PROXY_USER=<your_login> \
-e PROXY_PASSWORD=<your_pass> \
--label "com.docker-tc.enabled=1" \
--label "com.docker-tc.limit=64kbps" \
serjs/go-socks5-proxy

from socks5-server.

engineeringsys avatar engineeringsys commented on August 16, 2024

Thanks for your response. I'll close this but will let you know if I discover anything.

from socks5-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.