Hi, I’m working with a rather old C++ program and one of the plugins uses the dirent.h library to provide directory listing features to the program.
Strangely, it reads empty for Docker volumes mounted with
-v and it’s kind of got me stuck in a project. Is there anything I can do to resolve this? The only other solution I can think of is to mount the volume into a temporary directory then write a script to copy stuff over to a “normal” directory but this just feels really hacky and stupid.
Edit 2: solution does not work on windows - the whole reason I’m trying to do this.