gliderlabs / registrator

Service registry bridge for Docker with pluggable adapters
http://gliderlabs.com/registrator
MIT License
4.66k stars 912 forks source link

unable to inspect container parsing time #491

Open mbenachour opened 7 years ago

mbenachour commented 7 years ago

I started my registrator container but it seem to be able to inspect the docker containers , is this an API version issue with docker API ?

2016/08/07 16:03:23 Starting registrator v7 ... 2016/08/07 16:03:23 Using consul adapter: consul://localhost:8500 2016/08/07 16:03:23 Connecting to backend (0/0) 2016/08/07 16:03:23 consul: current leader 172.17.0.2:8300 2016/08/07 16:03:23 Listening for Docker events ... 2016/08/07 16:03:23 Syncing services on 1 containers 2016/08/07 16:03:24 unable to inspect container: 78d37f91a6bd parsing time """" as ""2006-01-02T15:04:05Z07:00"": cannot parse """ as "2006"

MagicStarTrace commented 7 years ago

Registrator for the internal containers are ip, the host ip how to obtain? In addition the host ip port and the container port is not the same For example, the container is 80 corresponding to the host port may be 8000. How to achieve this?