Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix docs so docker manage.py containers don't restart infinitely

Chris270a9175ad3c
diff --git a/docs/customization/docker.rst b/docs/customization/docker.rst
index 55c164b256..45a1975497 100644
--- a/docs/customization/docker.rst
+++ b/docs/customization/docker.rst
@@ -35,9 +35,9 @@ Usage
.. code-block:: bash
- $ docker-compose run web python3 manage.py migrate
- $ docker-compose run web python3 manage.py collectstatic
- $ docker-compose run web python3 manage.py populatedb --createsuperuser
+ $ docker-compose run --rm web python3 manage.py migrate
+ $ docker-compose run --rm web python3 manage.py collectstatic
+ $ docker-compose run --rm web python3 manage.py populatedb --createsuperuser
The ``--createsuperuser`` argument creates an admin account for
``[email protected]`` with the password set to ``admin``.