Skip to content

Commit 3383d79

Browse files
authored
Fix docker version issue (#1189)
This PR should fix the docker client version issue that occur when cloud build instances try to pull docker images.
1 parent ffa2f64 commit 3383d79

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

common/cloud_builder.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,8 @@ def _request_cloud_build(self, ofg_repo_url: str, agent_dill_url: str,
348348
'GOOGLE_CLOUD_LOCATION=' +
349349
os.getenv("GOOGLE_CLOUD_LOCATION", "global"),
350350
'--network=cloudbuild',
351+
'-e',
352+
'DOCKER_API_VERSION=1.41',
351353
# Built from this repo's `Dockerfile.cloudbuild-agent`.
352354
('us-central1-docker.pkg.dev/oss-fuzz/oss-fuzz-gen/'
353355
'agent-image'),

0 commit comments

Comments
 (0)