Docker Community Forums

Share and learn in the Docker community.

Can Docker Compose process a batch of files without a control script?

Hi, incompetent scripter here. I have a looping script that iterates through 3 levels of directories, running a docker image to process each graphics file found, and some results files are written each time. My script kicks off and destroys a few hundred containers.
I’m looking for a way to eliminate the need to adjust organization of the directory tree so my app doesn’t choke, and to have changing names and numbers of files not require scripting or thinking. It doesn’t need to be a constantly-monitored thing; basically, I want Docker or some similar technology (and not my app) to appraise a file structure at run time and spin off containers as needed.

Is this something that will always require a user-script to handle, or is this something that has already been rolled into the things-we-do-for-you automation?