Forums

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

Failed to create a docker image out of a docker file

Sandeep.Dash
Contributor
November 21, 2024

Hi,

I am trying to create a custom image from a docker file however it is throwing the below error:

ERROR [internal] load metadata for docker.io/library/maven:3.8.6-jdk-11

 

 

 

 

 

 

 

1 answer

1 accepted

0 votes
Answer accepted
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 26, 2024

Hello @Sandeep.Dash ,

and thank you for reaching out to the Community!

Could you please confirm if you are building the image locally on your machine or as part of a Bitbucket Cloud Pipelines? 

If it's locally on your machine, it could be the case that some docker files are not configured correctly. I was able to find other users reporting similar issues that got fixed after deleting the docker config file ~/.docker/config.json and executing docker login  again.

Could you try that and let us know if it works for your issue as well? 

Thank you, @Sandeep.Dash !

Patrik S

Sandeep.Dash
Contributor
November 27, 2024

This worked. Thank you, @Patrik S !

Like • Patrik S likes this
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 27, 2024

No problem! Glad to have been of some help :)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
atlassian, forge, forge learning path, atlassian learning, cloud app development, forge app development, build forge apps, atlassian certification, developer training, jira app development, confluence app development, automation, ui frameworks

Turn Ideas into Atlassian Apps 📱

From setup to deployment—this learning path shows you how to build your first app using Forge. Learn the essentials, streamline workflows, and bring custom solutions to life across Jira, Confluence, and more.

Start Learning
AUG Leaders

Atlassian Community Events