mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 01:06:27 +00:00
Merge pull request #3317 from justincormack/dockerapi
Update Docker API version
This commit is contained in:
commit
32920fb018
@ -174,7 +174,8 @@ func dockerPull(ref *reference.Spec, forcePull, trustedPull bool) error {
|
||||
|
||||
func dockerClient() (*client.Client, error) {
|
||||
// for maximum compatibility as we use nothing new
|
||||
err := os.Setenv("DOCKER_API_VERSION", "1.23")
|
||||
// 1.30 corresponds to Docker 17.06, supported until 2020.
|
||||
err := os.Setenv("DOCKER_API_VERSION", "1.30")
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user