Skip to contentSkip to conversation

CI: Fix container build jobs

PATCH In review Anthony PERARD 2 participants 2 messages Dec 7, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 CI: Fix container build jobs

From: Anthony PERARD <[email protected]>

docker:stable tag hasn't been updated in 5 years, and has been deprecated, according to https://hub.docker.com/_/docker, while docker:dind (image use for the service) is using a recent version of docker.

Now, docker info fails with:
Error response from daemon: client version 1.40 is too old. ...

Switch to a newer tag, and just the "cli" version which contains only the docker client. With that, both :dind and :cli should keep using the same version of version. (:cli seems to be the base image used to build :dind.)

---

Notes:
pipeline:
https://gitlab.com/xen-project/people/anthonyper/xen/-/pipelines/2200667790
which actually pushed the updated containers, despite the name of the top commit.

 automation/gitlab-ci/containers.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
automation/gitlab-ci/containers.yaml +1 -1
index 25e8bdc34b..8b702a1d82 100644
@@ -1,6 +1,6 @@
 .container-build-tmpl:
   stage: containers
-  image: docker:stable
+  image: docker:cli
   tags:
     - container-builder
   rules:
Signature · 1 line
Anthony PERARD
Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · Anthony PERARD

From: Anthony PERARD <[email protected]>

docker:stable tag hasn't been updated in 5 years, and has been deprecated, according to https://hub.docker.com/_/docker, while docker:dind (image use for the service) is using a recent version of docker.

Now, docker info fails with:
Error response from daemon: client version 1.40 is too old. ...

Quoted 6 lines

Switch to a newer tag, and just the "cli" version which contains only the docker client. With that, both :dind and :cli should keep using the same version of version. (:cli seems to be the base image used to build :dind.)