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.

Can I connect via https and with basic auth? #354

@4n70w4

Description

@4n70w4
            $client = DockerClientFactory::create([
                'remote_socket' => 'https://user:password@dock.localhost',
                'ssl' => true,
            ]);

            self::$docker = Docker::create($client);
    "message": "Unable to find the socket transport \"https\" - did you forget to enable it when you configured PHP?",
    "exception": "Http\\Client\\Socket\\Exception\\ConnectionException",
    "file": "/var/www/app/vendor/php-http/socket-client/src/Client.php",
    "line": 114

php -m | grep openssl

openssl

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