Giter Club home page Giter Club logo

Comments (5)

DanWahlin avatar DanWahlin commented on September 16, 2024 1

Not everyone has a proxy to go through so that's not something I can add to the Dockerfile to run every time. However, it'll be good to have your comment in the issues for people to reference. Thanks for sharing.

from codewithdandockerservices.

DanWahlin avatar DanWahlin commented on September 16, 2024

I'm afraid there isn't anything I can help with on this one since it's related to your firewall blocking access to a site used in the build. You'll need to talk with your network administrators about it to see if they can open access to the site listed in the error.

from codewithdandockerservices.

maheshk172 avatar maheshk172 commented on September 16, 2024

I use Ubuntu on Oracle VirtualBox and I can configure proxy for apt-get in following file /etc/apt/apt.conf But I am not sure how am I suppose to provide the proxy from Docker which will be used when apt-get command will run. I tried copying file at specified location, but it did not helped.

Any suggestions ?

from codewithdandockerservices.

DanWahlin avatar DanWahlin commented on September 16, 2024

I haven't had to deal with that personally. I did a little searching and found the following issue that mentions some ENV vars that may help. I don't have a way to test it but hopefully it at least points you in the right direction:

docker-archive/docker-registry#890

You can also check out this doc:

https://docs.docker.com/engine/reference/commandline/build/#set-build-time-variables-build-arg

If nothing in those links works, I'd recommend posting the specific info that you show above to stackoverflow.com to see about getting an answer from someone dealing with that.

from codewithdandockerservices.

yptheangel avatar yptheangel commented on September 16, 2024

for me, in my Dockerfile, please declare your proxy variable.
e.g. for my Dockerfile, I have added in this 2 lines.

ENV https_proxy https://.com:port
ENV http_proxy http://.com:port

from codewithdandockerservices.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.