Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×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?
Thanks.
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 https://support.atlassian.com/bitbucket-cloud/docs/deploy-build-artifacts-to-bitbucket-downloads/, 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!
Cheers
Dave
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.
Pete
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.