Skip to content

Commit 327f21a

Browse files
Merge pull request #426 from depot/docker-api-version
Set DOCKER_API_VERSION to 1.52
2 parents bcb0751 + f53deba commit 327f21a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmd/depot/main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ import (
2727
)
2828

2929
func main() {
30+
// Explicitly set the Docker API version to 1.52 to avoid the Docker daemon breaking change.
31+
os.Setenv("DOCKER_API_VERSION", "1.52")
32+
3033
if os.Getenv("DEPOT_DISABLE_OTEL") != "" {
3134
helpers.DisableOTEL()
3235
}

0 commit comments

Comments
 (0)