Skip to main content
Community site session details

Community site session details

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

Bussines Central on docker using sql Local host

(0) ShareShare
ReportReport
Posted on by 50

0211.Screenshot_5F00_1.png

Can someone help solving this problem ?

  • Suggested answer
    YUN ZHU Profile Picture
    86,253 Super User 2025 Season 1 on at
    RE: Bussines Central on docker using sql Local host

    Hi, hope th following helps.

    https://freddysblog.com/2021/02/28/running-business-central-in-docker-using-sql-on-the-host/

    Thanks.

    ZHU

  • luki1997 Profile Picture
    50 on at
    RE: Bussines Central on docker using sql Local host

    please hel me how can i do it

  • luki1997 Profile Picture
    50 on at
    RE: Bussines Central on docker using sql Local host

    it work well with the database that is inside the container but when i try to connect with an external database it gives me this error.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,029 Moderator on at
    RE: Bussines Central on docker using sql Local host

    If you took a database from a single tenant installation you can not  that directly to a multi tenant environment.

    So if the environment you copied from was single tenant, your docker image should also be single tenant.

    A good idea is to make your first Docker container one where you have your DB in the container so you know that the basics works before you try to build one using an external database.

  • luki1997 Profile Picture
    50 on at
    RE: Bussines Central on docker using sql Local host

    I build a multitenant docker image

    How can i solve this

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,029 Moderator on at
    RE: Bussines Central on docker using sql Local host

    Did you take it from a multi tenant installation or a single tenant installation?

    It can look like you took it from a multi tenant installation and took the data database and not the application database.

  • luki1997 Profile Picture
    50 on at
    RE: Bussines Central on docker using sql Local host

    no i havent copied it from bussines central

    i created myself

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,029 Moderator on at
    RE: Bussines Central on docker using sql Local host

    Where did you get your database from? 

    Is it a database you have copied from business central online?

    https://github.com/microsoft/navcontainerhelper/issues/623

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

News and Announcements

Now Available: 2025 Release Wave 2

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans