func (f *factory) GetClient(version dockerclient.DockerVersion) (sdkclient.Client, error) {
	for _, v := range getWindowsReplaceableVersions() {
		if v == version {
			version = minDockerAPIVersion
			break
		}
	}
	return f.getClient(version)
}
func (f *factory) GetClient(version dockerclient.DockerVersion) (sdkclient.Client, error) {
	for _, v := range getWindowsReplaceableVersions() {
		if v == version {
			version = minDockerAPIVersion
			break
		}
	}
	return f.getClient(version)
}
// GetClient will replace some versions of Docker on Windows. We need this because
// agent assumes that it can always call older versions of the docker API.