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

How Can we push docker images to Bitbucket?

Sai Kiran Teja
Contributor
March 21, 2018

I know that Docker hub is there but it allows only for 1 private repository. Can I put these images on Bitbucket?

2 answers

5 votes
Pavel V
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 27, 2018

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):

https://docs.docker.com/registry/

https://aws.amazon.com/ecr/

https://cloud.google.com/container-registry/

https://azure.microsoft.com/en-au/services/container-registry/

Sai Kiran Teja
Contributor
March 28, 2018

Thank you very much for your concern reply, is there any artifactory which may store docker images

Mark A.
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 29, 2018
Jordi Giménez Gámez
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!
June 20, 2019

Thanks Mark! Seeing where the market is heading lately, are you planning to build a registry in BitBucket itself? That would be really helpful

Like # people like this
Steve Mayne
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!
February 10, 2021

Just to add weight to this thread - gitlab has had its own internal container registry for a long time and it feels like bitbucket is behind the curve here.

Like # people like this
0 votes
Vadim8
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!
March 16, 2021

Nowadays, there are already quite a few alternatives to docker hub.

Here are some examples:

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events