Code Monkey home page Code Monkey logo

Comments (6)

krisives avatar krisives commented on June 12, 2024 1

Actually I split this in three steps and the first passed.

That's because apt clean doesn't do anything related to networking. apt-get update will contact the repositories configured for your Docker container and apt install will fetch packages from the repositories.

It fails because:

Err:1 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 InRelease
Failed to connect to developer.download.nvidia.com port 443: Connection refused

Your HTTP proxy isn't allowing HTTPS connections to developer.download.nvidia.com on port 443.

It also appears your proxy is not configured correctly for regular HTTP connections either:

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease Unable to connect to archive.ubuntu.com:http: [IP: 91.189.88.162 80]

Without a docker I cannot participate in your competition.

Docker really has very little to do with this problem. Your HTTP proxy is the problem. You'll probably find the same problem with any program/command that attempts to use your proxy:

export http_proxy=http://proxy.xxx:8080/
curl https://github.com

from animalai-olympics.

Bonum avatar Bonum commented on June 12, 2024 1

Hello Benjamin and Kristopher,

Thank you for your effort to resolve my problem.

In fact my docker is properly configured with proxy settings and has connection to outside, but running
the first line of Dockerfile caused for some reason problems with http_proxy settings.

The solution is to add also INSIDE Dockerfile after the first line:

ENV http_proxy "http://proxy.xxx:8080"
ENV https_proxy "http://proxy.xxx:8080"

Now "docker build --tag=submission . " was executed without a problem ( it took a while to install all dependencies).

Please have in mind that you set

ENV http_proxy "" etc. before

# YOUR COMMANDS GO HERE
RUN pip install animalai-train

which caused a problem.
Deleting http_proxy settings should be moved after that.

Regards,
Bonum

from animalai-olympics.

beyretb avatar beyretb commented on June 12, 2024

Hi,

This is a docker related issue, you clearly seem to have connectivity problems as your build isn't connecting to any of the repositories, which might be related to your proxy setup. We don't have the resources to support custom configurations unfortunately, I can only recommend asking the docker community for help on this.

from animalai-olympics.

Bonum avatar Bonum commented on June 12, 2024

Hi,

I agree that this is a docker related issue and you don't have to support custom configurations.

Just to mention:

  • My docker has connection :
    Step 1/20 : FROM nvidia/cuda:9.0-cudnn7-runtime-ubuntu16.04 ---> fa42893c355d
    was downloaded successfully
    Something wrong is going at
    Step 2/20 : RUN apt-get clean && apt-get update && apt-get install -y locales
    Actually I split this in three steps and the first passed.

  • Without a docker I cannot participate in your competition.

from animalai-olympics.

beyretb avatar beyretb commented on June 12, 2024

I agree that this is a docker related issue and you don't have to support custom configurations

We are more than happy to provide all the help we can when we are able to reproduce an issue, which is not the case here unfortunately

My docker has connection

It has some connection but I think your proxy does not work for some crucial services such as the ubuntu and nvidia repositories.

Not sure if this can help you but did you try this ?

from animalai-olympics.

beyretb avatar beyretb commented on June 12, 2024

glad you could find a fix! closing this issue

from animalai-olympics.

Related Issues (20)

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.