Skip to content

Does func support TLS-enabled docker hosts? #1627

@riverar

Description

@riverar

When attempting to deploy a function to a remote Docker daemon, func attempts to send an HTTP request to an HTTPS-only endpoint. Specifically, the following error is output:

> func version
v1.9.1

> func deploy -v --registry xxx
Building function image
Pulling image gcr.io/paketo-buildpacks/builder:base
Error: failed to fetch builder image 'gcr.io/paketo-buildpacks/builder:base': Error response from daemon: Client sent an HTTP request to an HTTPS server.

My DOCKER_HOST is set to tcp://redacted.host:2376 and DOCKER_TLS_VERIFY is set. I've verified normal docker commands (e.g. docker ls work correctly.)

Windows 10.0.25314.1010

Metadata

Metadata

Assignees

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