-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
httpProxy
support
#971
Comments
Yes, we do need |
Are there any news on this? I'm wondering if proxies set under |
@rappertomate Please considering use |
Nevermind, i figured it out. |
How did you give access to the |
Found it ! Just add Here is my resulting code in my case buildctl-daemonless.sh build
--frontend dockerfile.v0
--local context=.
--local dockerfile=.
--output type=image,name=${DOCKER_IMAGE_NAME}:${BUILD_VERSION},push=${ECR_PUSH}
${BUILDKITD_EXTRA_ARGS}
--opt build-arg:http_proxy=${http_proxy}
--opt build-arg:https_proxy=${https_proxy}
--opt build-arg:HTTP_PROXY=${HTTP_PROXY}
--opt build-arg:HTTPS_PROXY=${HTTPS_PROXY}
--opt build-arg:no_proxy=${no_proxy}
--opt build-arg:NO_PROXY=${NO_PROXY} Thank you for opening this issue it helps me to realize this proxy issue. |
I do not see it working even after I set these options.
|
I also could not get this to work yet. My solution now is to pull all the required images before I run a build. Not elegant maybe but it's simple and it works, at least for me. |
I think Not a |
I agree with @nichoio confusion regarding the |
I'm running docker in a network with http proxy which is configured to be used in docker using
proxies.default.httpProxy
configuration directive.It works fine with the default docker.
When I enable buildkit the networking operations fails with
cache.org.tld'
(redacted) is a valid hostname, resolvable by LAN DNS.I tried to specify dns servers additionally in the
/etc/docker/daemon.json
, it does not change the outcome though.A Dockerfile for the output above:
Is it
The text was updated successfully, but these errors were encountered: