Skip to content
This repository has been archived by the owner on Oct 26, 2019. It is now read-only.

Cannot read response #346

Open
sw3028 opened this issue Jan 29, 2019 · 0 comments
Open

Cannot read response #346

sw3028 opened this issue Jan 29, 2019 · 0 comments

Comments

@sw3028
Copy link

sw3028 commented Jan 29, 2019

Running Windows 7, IIS, PHP 7.3

Every command I run I get a response that Uncaught Http\Client\Socket\Exception\BrokenPipeException: Cannot read the response in . I have tried a container list, start a container, etc. Below is the code I am using

`use Docker\Docker;
use Docker\API\Model\ContainersCreatePostBody;
use Docker\DockerClientFactory;

$client = DockerClientFactory::create([
'remote_socket' => 'tcp://192.168.99.100:2376',
'ssl' => false,
]);

$docker = Docker::create($client);

$containers = $docker->containerList();

foreach ($containers as $container) {
var_dump($container->getNames());
}`

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant