in reply to Can't exec "command": No such file or directory error
Any ideas what the problem might be?
Yes. Only an idea though.
The PATH environment variable differs between the systems when running system from perl. Perhaps when executing in the Docker container the 'command' binary can't be found because it's not looking in the right place.system("echo \$PATH");
In Section Seekers of Perl Wisdom