docker-py 2.0.0 support

Hi ansible devs,

docker 2.0.0 (formerly docker-py) has been released: https://github.com/docker/docker-py/releases/tag/2.0.0

There are a number of breaking changes, including a top-level name change from “docker-py” to “docker”.

I’d be happy to submit a PR with the necessary changes if welcome. I wanted to check here first and avoid interfering with existing WIP.

Thanks.

-M

You should post this to the ansible-container group as well, they might have more feedback since this would definitely effect the container project vs the core devel project/group.

Bryce Walter

Hi Bryce,

Thanks for the feedback, good idea. I don’t see any dependency in ansible-container on the core docker_* modules but perhaps I missed something. Certainly couldn’t hurt to have more eyes on an issue. My primary concern is core docker_* module + module_utils compatibility. I note that core modules + issues have transitioned and now live in the main repo. If there’s a more appropriate group for core module related issues please lmk.

-M