GithubHelp home page GithubHelp logo

Comments (4)

crydotsnake avatar crydotsnake commented on May 29, 2024

Hello @websidian,

This looks like a network issue. Could you maybe try it again?

A hint:
You shouldn't run docker with sudo. In case you are using Linux, you can add your user to the docker group: https://docs.docker.com/engine/install/linux-postinstall/

from django-cms-quickstart.

marksweb avatar marksweb commented on May 29, 2024

I'm unable to reproduce this.

I'd 2nd the network error potential.

 => [internal] load build context                                                                                                                                      0.3s
 => => transferring context: 224.86kB                                                                                                                                  0.3s
 => [2/5] WORKDIR /app                                                                                                                                                 1.0s
 => [3/5] COPY . /app                                                                                                                                                  0.1s
 => [4/5] RUN pip install -r requirements.txt                                                                                                                         72.8s
 => [5/5] RUN python manage.py collectstatic --noinput                                                                                                                 6.3s
 => exporting to image                                                                                                                                                 7.4s
 => => exporting layers                                                                                                                                                7.3s
 => => writing image sha256:ff7a450f6456ed17ef923b8dce7e5028a2819526d94ff493a24b80f7a2a443f4                                                                           0.0s
 => => naming to docker.io/library/django-cms-quickstart_web                                                                                                           0.0s

from django-cms-quickstart.

websidian avatar websidian commented on May 29, 2024

@crydotsnake
followed your link

now, our docker user is in sudo group.
And we can start it without sudo now, thanks.

but we still get the same error as mentioned before.

`$ docker compose build web
Sending build context to Docker daemon 109.3kB
Step 1/6 : FROM python:3.9
---> 40264b427ab5
Step 2/6 : WORKDIR /app
---> Using cache
---> 9b576bf5f2cb
Step 3/6 : COPY . /app
---> Using cache
---> 4e77e5bfc42f
Step 4/6 : RUN pip install -r requirements.txt
---> Running in e57800677837
Collecting django-filer@ https://github.com/django-cms/django-filer/archive/refs/tags/2.1.1.zip
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f3176538d60>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /django-cms/django-filer/archive/refs/tags/2.1.1.zip
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f3176538dc0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /django-cms/django-filer/archive/refs/tags/2.1.1.zip
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f31765382e0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /django-cms/django-filer/archive/refs/tags/2.1.1.zip
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f3176538250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /django-cms/django-filer/archive/refs/tags/2.1.1.zip
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f31765a4c10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /django-cms/django-filer/archive/refs/tags/2.1.1.zip
ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /django-cms/django-filer/archive/refs/tags/2.1.1.zip (Caused by NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f31765a4b50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

1 error occurred:
* Status: The command '/bin/sh -c pip install -r requirements.txt' returned a non-zero code: 1, Code: 1`

from django-cms-quickstart.

crydotsnake avatar crydotsnake commented on May 29, 2024

Can you maybe try restarting Docker?

from django-cms-quickstart.

Related Issues (15)

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.