Skip to content

Dockbeat fails with npipe:// socket on Windows; exits with status 1 #142

Description

@godefroi

I am attempting to run dockbeat on Windows, and am not having success.

dockbeat:
  # Defines how often a docker stat is sent to the output
  period: 5

  # Defines the docker socket path
  socket: npipe:////./pipe/docker_engine

Dockbeat exits immediately with status 1, and if logging is configured, the following error is logged:

2017-02-07T10:31:10-08:00 CRIT Setup returned an error: Unable to create docker client, please check your docker socket/TLS settings: invalid endpoint

Dockbeat uses fsouza/go-dockerclient to communicate with Docker, I believe, and go-dockerclient does support npipe connections to docker on Windows (f.e. Registrator works, and uses the same docker client), but dockbeat does not work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions