Forums

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

pipeI want to use docker command in pipe.

Ray March 31, 2022

Hello, we are using the bitbucket pipeline.

- step:
name: Build Container Image
services:
- docker
script:
- aws ecr get-login-password ...
- pipe: docker//$ECR_REPOSIOTRY/$MY_IMAGE:latest

//Cannot connect to the Docker daemon at tcp://localhost:2375. Is the docker daemon running?

I made an Image to use as a pipe, but I want to run docker commands in the image.

The docker command could not be executed in the following cases.

I wish there was a way to mount the host's docker daemon.

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events