Coder Social home page Coder Social logo

Comments (2)

LeamHall avatar LeamHall commented on July 18, 2024

Redid the directory structure, getting the same issue.

...
Recreating ch2-hello_web_1 ... done
Attaching to ch2-hello_web_1
web_1 | python: can't open file '/code/manage.py': [Errno 13] Permission denied
ch2-hello_web_1 exited with code 2

[leam@shaphan code]$ pwd
/home/leam/lang/docker/code

[leam@shaphan code]$ tree |grep -v pyc
.
└── ch2-hello
├── db.sqlite3
├── django_project
│   ├── asgi.py
│   ├── init.py
│   ├── settings.py
│   ├── urls.py
│   └── wsgi.py
├── docker-compose.yml
├── Dockerfile
├── manage.py
├── pages
│   ├── admin.py
│   ├── apps.py
│   ├── init.py
│   ├── migrations
│   │   ├── init.py
│   ├── models.py
│   ├── tests.py
│   ├── urls.py
│   └── views.py
└── requirements.txt

[leam@shaphan code]$ docker-compose --version
docker-compose version 1.29.2, build unknown

[leam@shaphan code]$ docker --version
Docker version 20.10.23, build %{shortcommit_cli}

from djangoforprofessionals.

LeamHall avatar LeamHall commented on July 18, 2024

The issue seems to be the OS version of docker-compose. Removing that, and installing Docker CE and the compose plugin, seems to work.

from djangoforprofessionals.

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.