haosdent created MESOS-6064:
-------------------------------
Summary: Add version member field to Docker class to avoid
validate docker version every time
Key: MESOS-6064
URL: https://issues.apache.org/jira/browse/MESOS-6064
Project: Mesos
Issue Type: Improvement
Reporter: haosdent
Assignee: haosdent
Now the minimum docker version we supported is >=1.0.0. However, we support
some advanced features after docker 1.0.0 as well which require
{{Docker::validateVersion}} before use them. {{Docker::validateVersion}} is a
blocking function which waits for {{docker --version}} return. Call it too many
times bring unnecessary overheads. It would be better that we add a member
field represent current docker version in {{Docker}} class to avoid to execute
{{docker --version}} every time.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)