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

Panic: Get http://...:2376/containers/json?all=1: malformed response #13

Closed
david4shure opened this issue Mar 9, 2017 · 7 comments
Closed

Comments

@david4shure
Copy link

Environment OSX Sierra 10.12.1

Docker setup: docker-machine (vm)

So I installed ctop the way that your README instructed, and I set my docker host env variable (in my ~/.bash_profile) and when I run ctop, I get the following error

panic: Get http://192.168.99.100:2376/containers/json?all=1: malformed HTTP response "\x15\x03\x01\x00\x02\x02"
@david4shure
Copy link
Author

Also, my docker-machine setup uses a TLS as well, so the following environment variables are set:

DOCKER_HOST
DOCKER_TLS_VERIFY
DOCKER_CERT_PATH
DOCKER_MACHINE_NAME

@david4shure
Copy link
Author

Does this tool work with certs?

@bcicen
Copy link
Owner

bcicen commented Mar 9, 2017

Thanks @david4shure. ctop currently doesn't look for TLS/cert vars when configuring the client; though this update is in the works and will be included with the next minor release.

@david4shure
Copy link
Author

Awesome, thanks for the heads up :)

@bcicen bcicen added this to the v0.4.1 milestone Mar 10, 2017
@philip-ince
Copy link

My workaround for this was to install it on the VM itself then run
docker-machine ssh <machine-name> -tt ctop

By the way, great tool!

@bcicen
Copy link
Owner

bcicen commented Mar 10, 2017

TLS/cert support has been added in the latest release

@bcicen bcicen closed this as completed Mar 10, 2017
@schmunk42
Copy link

Awesome, runs great against our swarms!

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

No branches or pull requests

4 participants