web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Business Central Docker

(0) ShareShare
ReportReport
Posted on by 50

How do I connect business central that is running on dcker with Azure sql database ? 

container is up but unhealthy 

when i see logs it say container couldnt connect with database 

any thoughts?

I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,165 Moderator on at

    I am not sure you will get that to work from a Docker container.

    But here is the process needed to make Business Central use Azure SQL

    docs.microsoft.com/.../deploy-database-azure-sql-database

    I recommend you use SQL express for your Docker containers instead.

  • luki1997 Profile Picture
    50 on at

    I also tried to connect busines central that is running a docker with sql server  that is runnig on my local machine and still it doesnt comnect to database.

    Any help?

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,165 Moderator on at

    Are you using the BCContainer helper ?

    Try using the New-BcContainerWizard

    freddysblog.com/.../

    www.sauravdhyani.com/.../how-can-i-create-docker-container-using.html

    That will ask you where you want your database located or if you want to use an existing database.

  • luki1997 Profile Picture
    50 on at

    I am using New-BcContainerWizard

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,165 Moderator on at

    And you do not get any errors when that is executed?

    Maybe you can show the script that the BcContainer wizards generates?

  • luki1997 Profile Picture
    50 on at

    i want to use database that is in my localhost. when I run New-BcContainerWizard when buildnng the container i get this kind of error. 

     1588.Screenshot_5F00_1.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,028 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,121 Super User 2026 Season 1

#3
Teagen Boll Profile Picture

Teagen Boll 669 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans