Explicitly state that docker exec does not work for running management commands (#4487)

Co-authored-by: Imran Rahman <imranrahman.ix@gmail.com>
This commit is contained in:
Imran Rahman 2023-07-27 19:42:04 +06:00 committed by GitHub
parent 7a81a561c9
commit 0ecb9ce299
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,7 @@ As with any shell command that we wish to run in our container, this is done usi
$ docker compose -f local.yml run --rm django python manage.py createsuperuser $ docker compose -f local.yml run --rm django python manage.py createsuperuser
Here, ``django`` is the target service we are executing the commands against. Here, ``django`` is the target service we are executing the commands against.
Also, please note that the ``docker exec`` does not work for running management commands.
(Optionally) Designate your Docker Development Server IP (Optionally) Designate your Docker Development Server IP
-------------------------------------------------------- --------------------------------------------------------