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

Description

@4n70w4
            $client = DockerClientFactory::create([
                'remote_socket' => 'https://user:[email protected]',
                '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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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