Forums

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

bash: docker: command not found

Peter
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 28, 2020

it was working yesterday but now got errors below, can Someone help, please. 

atlassian/sftp-deploy:0.5.7
- step: &upload-and-deploy
name: Upload
services:
- docker
script:
- pipe: atlassian/sftp-deploy:0.5.7
variables:
USER: 'xxxx'
SERVER: ${SERVER}
REMOTE_PATH: 'xxxx'
LOCAL_PATH: ${BITBUCKET_CLONE_DIR}/xxx.zip
DEBUG: 'true'

 But got error 

bash: docker: command not found

bash: lesspipe: command not found

bash: dircolors: command not found

1 answer

0 votes
helgispbru
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!
December 21, 2020

I have the same issue on one of my repositories.

The only difference is that I have pipeatlassian/scp-deploy:0.3.12, but I tried 0.3.10 and 0.3.13 - everything stay the same, it can't find docker.

Also I tried to add

services:
  - docker

and this doesn't help.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, bitbucket, ci/cd workflows, scale ci cd, bitbucket webinar, devops pipeline, continuous integration, continuous delivery, atlassian learning, software automation, developer tools, build and deploy, pipeline optimization, atlassian community

Scale CI/CD workflows faster with Bitbucket Pipelines 🪣

Join this webinar on June 25/26th to learn how to build secure CI/CD workflows using Bitbucket Pipelines and get tips from our own engineers on how to speed up builds and operate at scale.

Register today
AUG Leaders

Atlassian Community Events