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

Cannot read response #346

@sw3028

Description

@sw3028

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());
}`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions