Replies: 2 comments 2 replies
-
I think you may need something like execInContainer("sh", "-c", "the whole command") If want to receive more help, please share a reproducible project, it can be a zip file or a github repository. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I had the same issue and found @eddumelendez answer really helpful, thanks a lot! I think it would be great to mention this in the Executing commands page, wdyt? Besides documentation, maybe it would be nice that the library provides some method for it, something like:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Module
Core
Testcontainers version
1.18.3
Using the latest Testcontainers version?
Yes
Host OS
Windows
Host Arch
x64
Docker version
What happened?
In my docker desktop I execute this command successfully:
I want to do the same in testcontainers:
But I get the error:
I've found the workaround:
But I still think that my initial attempt should work.
Relevant log output
No response
Additional Information
No response
Beta Was this translation helpful? Give feedback.
All reactions