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

Support tcp scheme for DOCKER_HOST #970

@fmanzali

Description

@fmanzali

I am running the CLI in a GitLab CI pipeline, but if I try to update it to v1.29.8 or later, I get this error:

failed to generate docker-compose.yaml: failed to get docker host: unsupported scheme tcp in DOCKER_HOST, only unix supported

The issue stems from this update. When using Docker-in-Docker on GitLab, the scheme (on a shared runner) is tcp, not unix (see the docs). In fact, my CI works by setting this environment variable: DOCKER_HOST: tcp://docker:2375/.

Is it possible to allow the tcp scheme? Or is there a specific reason for why only the unix scheme is now allowed?

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