Module
Core
Testcontainers version
1.17.3
Using the latest Testcontainers version?
Yes
Host OS
ALL
Host Arch
ALL
Docker version
What happened?
GenericContainer setCommand uses Java String split to build the array of command parts. If the command contains quoted arguments/quoted arguments with escaped quotes, the container fails.
Example command:
/bin/sh test.sh “argument 1” “argument 2”
Relevant log output
No response
Additional Information
No response