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?

  • Suggested answer
    IB-29041624-0 Profile Picture
    1,191 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
    IB-29041624-0 Profile Picture
    1,191 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
    IB-29041624-0 Profile Picture
    1,191 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 645 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 432 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 248 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans