docker driver: use fixed client api version
Set the client required api version to 1.26. In this way we'll work with docker >= 1.13.1
This commit is contained in:
parent
b333b6f423
commit
df66cfc736
|
@ -51,7 +51,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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue