My intention is to dump data from Django app (running inside docker container) directly on the disk and not inside the container. Any ideas how to do it? I tried this:
docker exec -it app bash -c "python manage.py dumpdata > data.json"
but the data is saved inside container.