Check the testing codes in the PR https://github.com/hantsy/symfony-rest-sample/blob/5e7d022e62d046933ff8117a7370e3842ca9c20b/tests/Repository/PostRepositoryTestWithTestcontainers.php
Http\Client\Socket\Exception\ConnectionException: Unable to find the socket transport "unix" - did you forget to enable it when you configured PHP?
...vendor\php-http\socket-client\src\Client.php:117