Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is it possible and sensible to host docker images in a Bitbucket Cloud repo using LFS

We're using custom docker images for our CI builds on Bitbucket. There is a new build we would like to setup but this docker image will include proprietary software, so we need a private docker registry.

Is it possible to use a bitbucket cloud repo to store this docker image if we set it up with LFS?


1 answer

1 accepted

1 vote
Answer accepted

Hey @Pete Blacker 

I suppose you could do this, but bear in mind that this is not a true Docker registry. For that, you would need to do something like what is described in Docker's Deploy a registry server documentation.

Thinking of a Docker image as simply another kind of artifact, you could use a Bitbucket repo’s “downloads” section to store images outside of the repository itself, but in a place that your repository can conceivably get to. Check out, it’s looking at this possibly from a slightly different angle than you are but you should be able to use the approach here to store and retrieve image files, which you can then use with standard docker commands.

I hope that helps Pete!



Thanks Dave,


That's an angle I hadn't considered. So you're suggesting we host the docker images in out repos download sections and load them using the interface used in the link you sent.

I'll try and set this up, this week and let you know how I get on.


Like Dave Chevell likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

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...

214 views 2 5
Read article

Community Events

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

Events near you