-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pac4cli cannot be used for building docker images #33
Comments
Thanks for the detailed report @badp !
One potential (stopgap) solution is to add a list of IP addresses to listen on to the configuration file. That would help provided that your host's ip address on docker0 is stable. Slightly more advanced would be to query docker for its network configuration, and listen on the appropriate interface. Even more advanced would be if docker were to support some sort of "sidecar" concept, where it starts a process ( What do you think? |
This may be useful for exposing pac4cli to containers (cf. #33). Choosing `-s` for the short form as that agrees with `netcat`.
This may be useful for exposing pac4cli to containers (cf. #33). Choosing `-s` for the short form as that agrees with `netcat`.
This may be useful for exposing pac4cli to containers (cf. #33). Choosing `-s` for the short form as that agrees with `netcat`.
Hey @badp , just out of interest: did you also look into the |
AFAICT docker containers exist on the other end of a docker tunnel called "docker0"; on my laptop, I've got the laptop itself on 172.17.0.1 and the "machine" (?) running the container on 172.17.0.2.
Those machines are typically configured to use Google DNS, so attempting to use a domain name as HTTP_PROXY only works if their DNS name is known to Google.
As a result:
I don't know if you have a happy middle ground between just binding to localhost and binding to literally anything and hoping the firewall does the right thing, but I wanted at least to document my struggles for the benefit of the next unfortunate soul.
The text was updated successfully, but these errors were encountered: