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

a tcp socket connection to docker is done by http://docker-engine:2375 not tcp://docker-engine.2375 #39

Open
EugenMayer opened this issue Nov 9, 2017 · 2 comments

Comments

@EugenMayer
Copy link

If you for example do docker-in-docker ( docker:did ) or a usual remote docker-eninge, you would connect using a tcp socket rather then a lock unix socket.

This socket is usually either given by a simple domain:port combination ( since tcp:// is the default if the socket scheme is not given ). This is also part of the docker-client configurations of DOCKER_HOST https://github.com/docker-library/docker/blob/6e7677bec19c214ef5445c0d2b96c56e42098ca1/docker-entrypoint.sh#L17

in elastic-agents though, one has to put http:// instead, which is undocumented and also not what is expected and not used by usual docker clients.

Can we fix this, on which layer this is mapped? using tcp:// does not work at all

@arunvelsriram
Copy link

I too came across this issue when trying to use a remote docker daemon. @EugenMayer this issue helped.

It's worth mentioning it in the docs.

@GaneshSPatil
Copy link
Collaborator

This issue is caused due to the underlying docker-client library.
Here is an open issue for the same: spotify/docker-client#946

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

3 participants