Skip to content

Accept tcp protocol for DOCKER_URL #11

@kinghuang

Description

@kinghuang

Docker API endpoints are typically specified using tcp as the protocol rather than http or https. It would be nice if promswarmconnect accepted tcp in the DOCKER_URL value.

Right now, promswarmconnect throws an error if tcp is specified as the protocol.

Get tcp://docker-host-here:2376/v1.24/tasks?filters=%7B%22desired-state%22%3A%5B%22running%22%5D%7D: unsupported protocol scheme "tcp"

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