Comments (5)
Once moby/libnetwork#2348 is merged and released, adding support for this on Linux should be straightforward.
from batect.
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.
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.
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.
With docker/for-linux#264 (comment), this is now unblocked for Linux 🎉
from batect.
Related Issues (20)
- Provide support for Docker outside of Docker while using run_as_current_user HOT 9
- Some key events (e.g. arrows) ignored in shell inside a container, starting with batect 0.80.0 HOT 4
- Concurrent builds using bundles can intermittently fail HOT 5
- Mapping multiple host ports to single container port HOT 3
- Batect Cannot detect if a container is already running on another task HOT 5
- "Invalid cross-device link" error when attempting to list or run tasks HOT 1
- Unable to mount docker socket when running has current user on a Mac HOT 8
- Batect Pre 0.80.0 compatibility with newer versions of Docker on Windows. HOT 1
- "Fake" a proxy environment HOT 2
- Release 0.83.5 is missing assets, making RenovateBot fail HOT 3
- Version 0.83.5 fails on Apple M1 chip HOT 3
- Support running multiple task with one CLI call HOT 5
- Support for a container ID file listing the IDs of a tasks running containers HOT 8
- Add an option to just build the images needed for given tasks HOT 3
- Image build progress receiver throws exception intermittently. HOT 1
- Version 0.83+ Fails on Amazon Linux 2 due to incompatible version of GLIBC HOT 1
- Version 0.83.8 fails on Apple M1 chip HOT 5
- sudo account validation failure when run_as_current_user enabled HOT 1
- Gradle housekeeping
- Can not connect to database HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from batect.