From b2663493d1b9278cf8db5d469f21d82dab8d60fb Mon Sep 17 00:00:00 2001 From: chan24092005 Date: Tue, 12 Dec 2017 05:32:40 +0800 Subject: [PATCH] Update django.md (#5477) docker-compose should run with `sudo`, otherview it will be fail without the sudo permission --- compose/django.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose/django.md b/compose/django.md index e920d9e684..e13ac11395 100644 --- a/compose/django.md +++ b/compose/django.md @@ -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