export -f only exports the function definition, not the variables it references. MODEL_PATH and RESULT_BASE were empty inside timeout bash -c subshells, causing docker run -v ::ro invalid spec. Add explicit export for all variables used by run_bench_serving().