Comments (4)
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.
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.
@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.
Can you maybe try restarting Docker?
from django-cms-quickstart.
Related Issues (15)
- Failed to build docker image HOT 6
- Fresh cloned repo fail to build web
- Fresh cloned repo fail to start migrations HOT 4
- Drop Django 3.1 from requirements HOT 3
- Logs file
- No css is loaded HOT 1
- uWSGI not support in windows
- Error Trying to Update `requirements.txt`
- Database is not persistent
- Superfluous volume assignment in database_default
- Postgres port conflict when postgres is running on host
- Documentation should be improved: How to restart server while reatining database data HOT 1
- RuntimeError: can't start new thread
- Docker build don't work HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-cms-quickstart.