-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Question] Docker: apk add: network error (check Internet connection and firewall) #4347
Comments
Not an issue with invidious itself. Please read the official documentation for docker: https://docs.docker.com/network/proxy/ |
But even if you manage to compile the image, invidious will not work because it doesn't support yet http proxies: #301 |
Which part were you referring to? All my other projects work fine, so it seems I already have the proper config in place. The fact that choosing the hostname causes DNS lookup error shows that apk does receive and use my proxy variable. Still, for unknown reason, it cannot connect, while other containers can:
Edit: And it seems to not be apk's bug either:
Grasping for straws, and ignoring my own observation about the DNS error, I also tried adding Update: I managed to Update: Setting a literal value in the Dockerfile ( Once we get proxies to work in crystal, we should try and see if we can make the Dockerfile and docker-compose work more smoothly. |
Features that haven't been implemented yet are not bugs. Supporting proxies requires extra code that hasn't been added yet, so it's not a bug. Bugs are problems in the existing code. |
You're right. I changed my wording from "bug" to "issue". I considered it a bug because it bugged me. However, the important part is that a reliable patch is already available. Edit: On 2nd thought, it's more of a personal preference where to draw the line whether lack of code is a a bug, missing feature, or even desirable to not bloat the code base. |
Describe the bug
apk in docker fails to connect to the outbound proxy on my LAN, and thus cannot install packages.
Steps to Reproduce
https_proxy
is set in the environment of docker-compose.docker-compose.yml
, above the lineINVIDIOUS_CONFIG: |
, inserthttps_proxy: 'http://proxy-hostname.lan:8884/'
network error (check Internet connection and firewall)
Logs
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: