Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

in case of self hosted runners as Linux Docker, Where does pipe run ?

Moamen Yousef August 10, 2022

In case of self-hosted runners as Linux Docker,  and I'm using pipe s3 deploy,
Where does the pipe run ? Does it run and create docker images on the host machine or in bitbucket infrastructure agent?
Thanks,

1 answer

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 14, 2022

Hello, @Moamen Yousef 

Welcome to the community!

Bitbucket runner uses your infrastructure, which includes pipe, as long as the steps are configured to use the runner in your YAML config.

I hope this helps.

Cheers,
Syahrul

Moamen Yousef August 15, 2022

Thank you Syahrul, 
Got it. but can you tell me in case of self-hosted runners as Linux Docker, 
I see that each step an image is pulled and a container is run but I can't see those containers on the host except the one of the runner it self. So, where are these containers run?

Thanks,
Moemen

Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 15, 2022

Hey @Moamen Yousef 

This is expected since the runner log only shows runner information, and the pipe runs on a docker container. If you wish to see the log, you can run the following commands on your host:

docker logs --details --follow <containerUUID>

When the build is triggered, you can get the container UUID in the runner log. Locate the container UUID that has _build at the end. This should show the whole build logs, which include the pipe.

Also, the container is removed when the build is complete; hence you can't locate it in your host. This can be seen in your runner log, it should mention something similar as this:

[2022-08-16 04:01:56,933] Removing container 44563242-9239-5082-8659-b3fce1d8bb67_cd1e32cb-1dc3-40f1-9ca6-f2d3d5e522f5_clone
[2022-08-16 04:01:56,964] Removing container 44563242-9239-5082-8659-b3fce1d8bb67_cd1e32cb-1dc3-40f1-9ca6-f2d3d5e522f5_clone
[2022-08-16 04:01:56,969] Removing container 44563242-9239-5082-8659-b3fce1d8bb67_cd1e32cb-1dc3-40f1-9ca6-f2d3d5e522f5_build

I hope this helps.

Cheers,
Syahrul

Moamen Yousef August 22, 2022

Got it.Thank you very much

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events