Merge pull request #81 from sgotti/docker_driver_use_fixed_client_api_version

docker driver: use fixed client api version
This commit is contained in:
Simone Gotti 2019-08-04 23:56:17 +02:00 committed by GitHub
commit 1c96b5fbff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ type DockerDriver struct {
}
func NewDockerDriver(logger *zap.Logger, executorID, initVolumeHostDir, toolboxPath string) (*DockerDriver, error) {
cli, err := client.NewClientWithOpts(client.FromEnv)
cli, err := client.NewClientWithOpts(client.FromEnv, client.WithVersion("1.26"))
if err != nil {
return nil, err
}