Using the internet in the docker is not possible

Using the internet in the docker is not possible  

  By: Kwok on March 24, 2022, 10:56 a.m.

We tried to use the internet in the docker and got the following error messages when we ran the test script:

"socket.gaierror: [Errno -3] Temporary failure in name resolution"

and

"urllib.error.URLError: "

One of the organizers of the TIGER challenge, Mr. Mart van Rijthoven has kindly replied our query by email: "Using the internet is not possible on Grand Challenge, so you will have to copy the model into the docker image".

Hope other participants can also see this issue and possible solutions.

Re: Using the internet in the docker is not possible  

  By: kaczmarj on March 24, 2022, 11:14 a.m.

What are you trying to use the internet for? If it is to download your model, you can instead copy your model into your docker image when you build the image. You would use the dockerfile COPY instruction.

Re: Using the internet in the docker is not possible  

  By: Kwok on March 24, 2022, 10:46 p.m.

Hello Jakub, thank you so much for replying the post. You are right, we solved the issuse by puting the model into a directory on our local machine. And we used the COPY instruction inside our Dockerfile to copy this directory inside the Docker Container. It works, thank you :-)