Hi! Bitbucket uses git under the hood and git is an excellent place to store text files, such as Dockerfile. It does support storing binary files but it is not a good match for Docker images.
You can probably save the Docker image using docker save and commit that - but instead I suggest you take a look for a real container registry. Here are a few (in no particular order):
Looks like Jfrog may be one. They have several articles on Artifactory and Docker integration:
I hope this helps.
Announced in this blog, this holiday season we’re celebrating all things CI/CD and between now and the end of 2019 we’ll be showcasing content, use cases, feature announcements and more. One featur...
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