Skip to content

Commit a0b2b54

Browse files
Merge pull request #428 from depot/docker-1-44
Set default Docker API version to 1.44
2 parents fbcab8b + a9cf4cf commit a0b2b54

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

cmd/depot/main.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ import (
2727
)
2828

2929
func main() {
30-
// Explicitly set the Docker API version to 1.48 to avoid the Docker daemon breaking change.
31-
os.Setenv("DOCKER_API_VERSION", "1.48")
30+
// Explicitly set the Docker API version to 1.44 to avoid the Docker daemon breaking change.
31+
if os.Getenv("DOCKER_API_VERSION") == "" {
32+
os.Setenv("DOCKER_API_VERSION", "1.44")
33+
}
3234

3335
if os.Getenv("DEPOT_DISABLE_OTEL") != "" {
3436
helpers.DisableOTEL()

0 commit comments

Comments
 (0)