-
Notifications
You must be signed in to change notification settings - Fork 532
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
apk return DNS lookup error #445
Comments
The proxy URL must be escaped, as per @crts-xxx's comment. That fixed the problem for me. |
Hi hit the same issue, I am trying to build a image from docker file here is the content of docker build file : FROM gliderlabs/alpine:latest when I try to run the build command
|
I still face the issue with alpine:3.9 behind a proxy.
I end up in DNS lookup error which fails with exit code: 1 As suggested in other tickets with respect to http_proxy and HTTP_PROXY_AUTH did not solve the problem. Any suggestions or solutions !! |
Try this temporarily.
|
use image alpine:3.12, not use latest |
Hello, |
This one : thanks |
I am using a corporate proxy, without authentication.
When I try the build an image based on alpine, It gives me the bellow error when I try to install a package.
I build using the command
docker build --build-arg http_proxy=http://proxy:8080/ -t ImName .
I already checked #171 #191 #207 but didn't help.
Any solution?
The text was updated successfully, but these errors were encountered: