Create a project in the directory

pwd /c/docker/docker-project/python 

from dockerfile

 From python:3 RUN pip install django RUN mkdir /data WORKDIR /data 

run it

 docker run -v `pwd`:/data --rm -it my_django django-admin.py startproject my_app 

In the container, the specified directory and project were created, but in the windows, the project files did not appear except for the Dockerfile.

 ls -l total 1 -rw-r--r-- 1 vs 197121 69 янв 25 12:56 Dockerfile 

    1 answer 1

    Understood. In windows, in order to create shared project directories, they should be located along the path with: \ Users \ UserName ...