Pr is in https://github.com/apache/libcloud/pull/821
Feel free to test this out. On Fri, Jun 24, 2016 at 12:49 PM, anthony shaw <anthony.p.s...@gmail.com> wrote: > hi markus, > > Trying to create a stable docker API client is like trying to hit a > racehorse with a frisbee. > > The code was written for 1.9 (1.21 API), I'm just updating all the > tests and fixing what seems to be broken contracts for 1.24 on Mac > OSX. > > Docker also supports versioning in the URI, so I've added that to the driver. > > Once I've got this PR in it would be good if you could also test it on > your machine. > > Anthony > > On Fri, Jun 24, 2016 at 5:48 AM, Markus Wanner <mar...@bluegap.ch> wrote: >> Hi, >> >> I recently started to fiddle with libcloud, but quickly figured its >> docker driver wasn't quite as useful as I have hoped. I've been unable >> to figure the port mapping information as well as the IP of the >> container; and IIRC libcloud outright failed on some JSON data my docker >> 0.11 installation returned. >> >> Attached is a patch that helped me get the required information. >> However, it's far from perfect. Ideally, I think that information should >> be stored in the Container object. >> >> Does the existing version work for anybody? With what version of docker? >> Do we need to support multiple versions with different interfaces? Is it >> worth polishing that patch or is somebody else already working on >> something similar? >> >> Kind Regards >> >> Markus Wanner