Hi France,
Does your code work without Docker?
let $src-dir-items := file:list('ContentDBs')
...
let $debug := file:append('debug-a.xml', 'item: ' || $i || ' is dir: ' || file:is-dir($i) || ' ') let $debug := file:append('debug-a.xml', 'item: ' || $i || ' is file: ' || file:is-file($i) || ' ') return $i
Please note that file:list only returns the name of the files, not the paths. You can try file:children instead [1].
Hope this helps, Christian