Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
godefroi opened this issue Feb 7, 2017 · 0 comments
Open

Comments

@godefroi
Copy link

godefroi commented Feb 7, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant