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.
Reviewed: https:/ /review. openstack. org/481456 /git.openstack. org/cgit/ openstack/ tripleo- common/ commit/ ?id=d8a74de787c c8c97547cdd0824 2d6eb6b27b1fad
Committed: https:/
Submitter: Jenkins
Branch: master
commit d8a74de787cc8c9 7547cdd08242d6e b6b27b1fad
Author: Alfredo Moralejo <email address hidden>
Date: Fri Jul 7 08:33:48 2017 +0200
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: I36d5316ac5244c 227f6e9913a58d4 fde1c2b1518