Pipelines Docker in Docker Service serving HTTP responses on HTTPS URL

Issue #15647 closed
Jacob Northey
created an issue

When a pipelines build is configured with docker:on and docker commands are issues, the build is failing due to unsecure requests on an HTTPS port.

Warning: failed to get default registry endpoint from daemon (error during connect: Get https://localhost:2375/v1.29/info: http: server gave HTTP response to HTTPS client). Using system default: https://index.docker.io/v1/ error during connect: Post https://localhost:2375/v1.29/images/create?fromImage=*%2F&tag=***: http: server gave HTTP response to HTTPS client

Comments (4)

  1. Jacob Northey reporter

    There were Docker environment variables DOCKER_CERT_PATH and DOCKER_TLS_VERIFY set in the build image causing docker to try and connect securely to the local Docker service.

  2. Log in to comment