Forums

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

Building the multiplatform docker image in bitbucket pipeline with self hosted runner

Rajat Chawla
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!
July 28, 2025

I am trying to build a multiplatform image i.e. for ARM and AMD. I have installed a self hosted runner inside a kubernetes cluster and its active in bitbucket. 

I have followed below documentation to run the pipeline. but I still get error "unknown flag: --use"

however if i go to the runner and run this command manually "

docker run --rm --privileged multiarch/qemu-user-static --reset -p yes; docker buildx create --use

" then it works

https://support.atlassian.com/bitbucket-cloud/kb/building-multi-architecture-docker-images-with-bitbucket-pipelines/

 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events