I can handle cloud related work
Get Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: [email protected] <[email protected]> on behalf
of Prabakaran Balaji <[email protected]>
Sent: Monday, September 26, 2022 5:41:30 PM
To: [email protected] <[email protected]>
Subject: Starting Django project with Docker
Hello Django Geeks,
Looking for geeks' insight for docker related issues. I'm not able to run the
command "docker-compose run --rm app sh -c "django-admin startproject app ."
Error -
Traceback (most recent call last):
File "/py/bin/django-admin", line 8, in <module>
sys.exit(execute_from_command_line())
File "/py/lib/python3.9/site-packages/django/core/management/__init__.py",
line 419, in execute_from_command_line
utility.execute()
File "/py/lib/python3.9/site-packages/django/core/management/__init__.py",
line 413, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/py/lib/python3.9/site-packages/django/core/management/base.py", line
354, in run_from_argv
self.execute(*args, **cmd_options)
File "/py/lib/python3.9/site-packages/django/core/management/base.py", line
398, in execute
output = self.handle(*args, **options)
File
"/py/lib/python3.9/site-packages/django/core/management/commands/startproject.py",
line 21, in handle
super().handle('project', project_name, target, **options)
File "/py/lib/python3.9/site-packages/django/core/management/templates.py",
line 160, in handle
with open(new_path, 'w', encoding='utf-8') as new_file:
PermissionError: [Errno 13] Permission denied: '/app/manage.py'
Attaching docker related files and directory structure screenshot.
[image.png]
I have followed some links in stackoverflow, which didn't work.
https://stackoverflow.com/questions/73532467/permissionerror-errno-13-permission-denied-app-manage-py,
https://stackoverflow.com/questions/55729645/permissionerror-errno-13-permission-denied-app-manage-py-when-trying-to-c
Will be waiting for your valuable inputs.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/CAK7fxT-m%3D5LMFF%2ByikZ6571eSo3xMuyc6ZGDtLtrE4fd_naz%2BA%40mail.gmail.com<https://groups.google.com/d/msgid/django-users/CAK7fxT-m%3D5LMFF%2ByikZ6571eSo3xMuyc6ZGDtLtrE4fd_naz%2BA%40mail.gmail.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/TY2PR0101MB3344866E555E847A305F8929A4529%40TY2PR0101MB3344.apcprd01.prod.exchangelabs.com.