I am trying to use docker buildx command (used by docker compose build) and according to this KB article, it seems that I could use the custom docker-in-docker image to get the latest docker and achieve that. However, after setting up the docker image (another instructions), running docker --version still invokes the built-in docker daemon, what am I missing?
Runner version: 1.551
Bitbucket Config
It is using the custom docker name since the default name didn't work and I was trying to see if using a custom name would make the pipeline refer to the custom docker daemon.


Running results
Docker log shows the dind is running

The pipeline still calls the built-in docker CLI
