I have a custom image built whose gist is here .
when I run this image using the below command
docker run --name tf-flask -it -v ${pwd}/flask:/tf-train/flask-temp ainosoft/tf-od-2.13-opencv-4.81 bash
though the local folder i.e. flask reflects within the container in expected /tf-train/flask-temp, it doesn't show any files within the folder from the local system. I believe its some kind of permissions issue but the local folder has permissions such as
drwxrwxr-x 2 user user 4096 Oct 3 19:24 flask
the image swithches to a default user od which is part of sudo group.