Comments (7)
Alright. Not sure how to test it, but the next release should be using that version of dockerclient...
from registrator.
If you want to test it, a very simple way is via shipyard. See referenced closed ticket.
from registrator.
I'm seeing the very same thing via these error messages -
2014/12/15 15:00:01 registrator: unable to inspect container: f7c5587e633d json: cannot unmarshal number 6.7108864e+07 into Go value of type int64
When launching containers from inside the Mesos Marathon Framework.
from registrator.
Consider upgrading your registrator container; latest builds of registrator include a newer version of fsouza/go-docker which have resolved the problem for me.
from registrator.
Are you sure? As I build from a fresh docker image from the registry (also using 'latest' build tag - which should be 0.4.0). Also still in master branch of the git repo - https://github.com/progrium/registrator/blob/master/Godeps/_workspace/src/github.com/fsouza/go-dockerclient/container.go#L161-L162
Also this issue is still open, which suggests its not resolved? Although it looks like it should be since the PR above was merged in July? Though I am fairly new to docker/registrator so maybe I am doing something wrong on my end.
from registrator.
This: https://github.com/progrium/registrator works correctly for me.
You raised some good points so I decided to dig in a bit deeper.
Seems that the old float values I could see for memory (using docker inspect) are now integer values!
This appears to have happened after I upgraded docker from 1.3.1 to 1.3.2 (using the lxc-docker deb package in ubuntu).
It seems that this was resolved some time ago: moby/moby#6246
and seems to be handled in the docker code: https://github.com/docker/docker/blob/master/engine/env.go#L230-L234
but perhaps it only got included in 1.3.2.
What is the docker version you are running?
from registrator.
Yup, Doh, I was running docker 1.0.1 (for some reason), after upgrading to docker 1.4.0 the issue is resolved. Thanks for the help investigating!
from registrator.
Related Issues (20)
- Not able to get POD IP for registration in EKS
- unsupported protocol scheme ""
- Cannot unmarshal number into Go value of type string HOT 1
- Support for newer versions of Consul HOT 10
- Support for 3.x version of etcd HOT 2
- Dead link in website
- cannot connect to Docker endpoint
- Unregister on 'stop'
- Health checks with SERVICE_CHECK_SCRIPT doesn't work HOT 1
- Possible bug (or by-design behavior) of using IPv6 addresses to register TCP health check to `Consul`?
- http://gliderlabs.com/ is down HOT 1
- Image docker.io/gliderlabs/registrator:latest uses outdated schema1 manifest format HOT 2
- Require image for ARM64 architecture HOT 3
- gliderlabs.com is down HOT 1
- All service names start with sha265 when containers are started with the new compose-cli HOT 3
- Takeover the project HOT 7
- I would like to add support for excluding some containers
- Not an issues | Registrator Updated / Fork HOT 2
- Fork of this project and an open invitation to participate. HOT 1
- Registrator not picking the events everytime
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from registrator.