Click here to Skip to main content
15,894,540 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I'm creating a Spring boot application that connecting to Azure Vault to get configurations. But when my project running inside Docker is running, it failed as it connect connect to the Azure vault. Is there anything I missed in my Dockerfile?

What I have tried:

I'm creating a Spring boot application that connecting to Azure Vault to get configurations. But when my project running inside Docker is running, it failed as it connect connect to the Azure vault. Is there anything I missed in my Dockerfile?
Posted
Updated 27-Apr-24 0:03am
v2
Comments
Richard MacCutchan 27-Apr-24 6:04am    
"Is there anything I missed in my Dockerfile?"
How can anyone, apart from you, answer that question?
Benjie Fallar III 27-Apr-24 10:17am    
No, when running outside Docker its working, its only not connecting when running inside Docker
Dave Kreskowiak 27-Apr-24 11:32am    
How is anyone supposed to answer that based on no error messages, no docker file, and no code from your app?

You literally just walked into a car repair shop pointed at your car sitting miles away and said "it's broke". What do you think the mechanic is going to think about you?

1 solution

The likeliest scenario is that you haven't authenticated with the vault. You should look into DefaultAzureCredentials. I had to guess what the problem is because you supplied no code, no docker configuration, and no evidence of any error messages.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900