Update django.md (#5477)

docker-compose should run with `sudo`, otherview it will be fail without the sudo permission
This commit is contained in:
chan24092005 2017-12-12 05:32:40 +08:00 committed by John Mulhausen
parent b193f93897
commit b2663493d1
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ In this step, you create a Django starter project by building the image from the
2. Create the Django project by running
the [docker-compose run](/compose/reference/run/) command as follows.
docker-compose run web django-admin.py startproject composeexample .
sudo docker-compose run web django-admin.py startproject composeexample .
This instructs Compose to run `django-admin.py startproject composeexample`
in a container, using the `web` service's image and configuration. Because