Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket Pipeline Docker Client Version Too Old for Hadolint

Ruchit Patel
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 11, 2025

We are experiencing a failure in our Bitbucket pipeline related to the Docker client version. Even after attempting to upgrade Docker in our pipeline image, the pipeline continues to use an older Docker client, resulting in API compatibility issues.

 

We are experiencing a failure in our Bitbucket pipeline related to the Docker client version. Even after attempting to upgrade Docker in our pipeline image, the pipeline continues to use an older Docker client, resulting in API compatibility issues.


Pipeline Configuration:

 

image:
 name: <image>
 username: $DOCKER_USERNAME
 password: $DOCKER_PASSWORD
options:
 max-time: 90

 

  • Base image <image> is a custom Node-based image.

  • In the Dockerfile, we attempt to upgrade Docker to version 28.5.2:


ENV DOCKER_VERSION="28.5.2" RUN export VERSION=${DOCKER_VERSION}; \ curl -fsSL --retry 3 https://get.docker.com | sh && \ docker --version


Observed Behavior:

  • When running the pipeline on master, the following error occurs:

 

 
docker: Error response from daemon: client version 1.41 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer version.

 

  • Running docker --version inside the pipeline step reports:

     Docker version 20.10.24, build 297e128

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events