testcontainers / testcontainers-php

https://www.testcontainers.org implementation for PHP
MIT License
99 stars 17 forks source link

Specify container command #21

Closed adaliszk closed 1 week ago

adaliszk commented 1 week ago

Great work on this!

Unfortunately, it seems the command option is not exposed, so we can only start containers that rely on environment variables to function. Would it be possible to add a withCommand option to allow arguments to the entrypoint?

adaliszk commented 1 week ago

Nevermind, withCmd is there, but I was on an older version.