Bump minimum docker version to 1.13.1

This commit is contained in:
Yu-Ju Hong 2019-01-11 10:21:38 -08:00
parent a7cb03f4cf
commit f62cc81934
3 changed files with 4 additions and 4 deletions

View File

@ -33,7 +33,7 @@ const (
FakeMemoryCapacity = 4026531840 FakeMemoryCapacity = 4026531840
FakeKernelVersion = "3.16.0-0.bpo.4-amd64" FakeKernelVersion = "3.16.0-0.bpo.4-amd64"
FakeContainerOsVersion = "Debian GNU/Linux 7 (wheezy)" FakeContainerOsVersion = "Debian GNU/Linux 7 (wheezy)"
FakeDockerVersion = "1.5.0" FakeDockerVersion = "1.13.1"
) )
var _ cadvisor.Interface = new(Fake) var _ cadvisor.Interface = new(Fake)

View File

@ -28,8 +28,8 @@ import (
const ( const (
// https://docs.docker.com/engine/reference/api/docker_remote_api/ // https://docs.docker.com/engine/reference/api/docker_remote_api/
// docker version should be at least 1.11.x // docker version should be at least 1.13.1
MinimumDockerAPIVersion = "1.23.0" MinimumDockerAPIVersion = "1.26.0"
// Status of a container returned by ListContainers. // Status of a container returned by ListContainers.
StatusRunningPrefix = "Up" StatusRunningPrefix = "Up"

View File

@ -81,7 +81,7 @@ type FakeDockerClient struct {
const ( const (
// Notice that if someday we also have minimum docker version requirement, this should also be updated. // Notice that if someday we also have minimum docker version requirement, this should also be updated.
fakeDockerVersion = "1.11.2" fakeDockerVersion = "1.13.1"
fakeImageSize = 1024 fakeImageSize = 1024