Alfredo Moralejo d8a74de787 Set version=auto when creating docker client
When creating a docker client using docker library, version
1.26.0 of docker api is used by default, however the version
of docker included in CentOS 7 is currently 1.24.0. Using
version='auto', the client detects the api version in the
server and uses it.

This change sets version to 'auto' so that is automatically
detected as kolla [1] and others do.

Closes-Bug: #1702765

[1] https://github.com/openstack/kolla/blob/master/kolla/image/build.py#L135

Change-Id: I36d5316ac5244c227f6e9913a58d4fde1c2b1518
2017-07-07 08:49:29 +02:00
..