Add this to the bitbucket-pipeline.yaml file, on the right step: services: - docker
Nothing works!!! Just install Linux directly on your system
This is the error I see if I forget to use sudo when running Docker.