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

Notifications

Announcements

No record found.

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,105 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,105 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,105 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans