According to the documentation ->
it says that there is two ways to use docker in your pipeline. I have tested both of them,
both having set
as well as
but still when using
- docker version
I still get the message "bash: docker: command not found".
According to the documentation this should work out of the box, or what am I missing?
I am using a self hosted runner. Could this be a culprit to my issues?
Hi, @Folke Byfors! Welcome to the community!
Based on the details you shared with us, it seems that the PATH variable is the issue. Could you please check if you have set up the PATH variable as Workspace/Repository or deployment variable?
As you can see in this documentation, if we configure a pipeline variable with the name PATH, we might break all the pipeline steps. This happens because the shell uses PATH to find commands, so if we replace its usual list of locations, then commands like docker won't work anymore.
A simple solution is to rename the variable 'PATH' to something else, for example, 'PIPELINE_PATH'.
Please try this and let me know how it goes.
Hi, @Folke Byfors.
In case it hasn’t been resolved, I see you have access to a Premium workspace, so if the repository in question is under this workspace, you can open a ticket with us through the following link:
In "What can we help you with?" select "Technical issues and bugs" and then Bitbucket Cloud as the product. In "What is your workspace URL?", make sure to give the URL of the premium workspace.
The support ticket will be visible only to you and Atlassian staff, and with an open support ticket, the engineer handling your case will be able to access the repository and investigate this issue.
If you have any other questions regarding this matter, please let us know.
Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events