Giter Site home page Giter Site logo

Add support for local proxies about batect HOT 5 OPEN

pameck avatar pameck commented on June 14, 2024
Add support for local proxies

from batect.

Comments (5)

charleskorn avatar charleskorn commented on June 14, 2024 1

Once moby/libnetwork#2348 is merged and released, adding support for this on Linux should be straightforward.

from batect.

charleskorn avatar charleskorn commented on June 14, 2024

Thanks for the feedback @pameck, this seems like something that batect should take care of for you.

On Mac it looks pretty straightforward: if the proxy refers to localhost or 127.0.0.1, use host.docker.internal on Docker 18.03+ or the now-deprecated docker.for.mac.localhost on Docker 17.06+.

On Linux, it's not quite that simple. docker/for-linux#264 talks about adding support for host.docker.internal to Linux hosts, but that hasn't been implemented. I'm sure there's a way to do it though, I'll do some digging.

from batect.

charleskorn avatar charleskorn commented on June 14, 2024

Support for this on OS X has been added and will be included in 0.16.

Supporting this on Linux is way more involved, so I'm not going to add it right now.

Thanks again for the feedback @pameck!

from batect.

stale avatar stale commented on June 14, 2024

This issue has been automatically marked as stale because it has not had any activity in the last 60 days. It will automatically be closed if no further activity occurs in the next seven days to enable maintainers to focus on the most important issues.
If this issue is still affecting you, please comment below within the next seven days.
Thank you for your contributions.

from batect.

charleskorn avatar charleskorn commented on June 14, 2024

With docker/for-linux#264 (comment), this is now unblocked for Linux 🎉

from batect.

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.