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

Installing Microsoft Dynamics 365 within Docker Desktop on Win 11 machine

(4) ShareShare
ReportReport
Posted on by 8
Trying to run this script

# Update helper
Install-Module BcContainerHelper -Force
Update-Module  BcContainerHelper

# Cleanup (safe to re-run)
try { Remove-BcContainer -containerName bcserv } catch { }
Flush-ContainerHelperCache -cache bcartifacts

# Credentials
$user = 'admin'
$password = ''   # Change if needed
$securePassword = ConvertTo-SecureString -String $password -AsPlainText -Force
$credential = New-Object pscredential $user, $securePassword
# 4) Get the latest Business Central artifact (on-prem v27 W1)
# Change -version '27' to '24' or '26' if you need older versions
$artifactUrl = Get-BcArtifactUrl -type onprem -version '27' -country w1 -select Latest
# 5) Create the container
New-BCContainer -accept_eula `
                -updateHosts `
                -artifactUrl $artifactUrl `
                -containerName 'bcserv' `
                -credential $credential `
                -auth UserPassword `
                -shortcuts StartMenu `
                -memoryLimit 8G `
                -alwaysPull `
                -useBestContainerOS `
                -isolation Process

I get this error

Creating container bcserv from image mcr.microsoft.com/businesscentral:ltsc2025
f28a753b5f97dedd875006662dbb7fa5dfd5da2ad562dd30520b2b584120a40f
Waiting for container bcserv to be ready
Using artifactUrl https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/onprem/27.2.42879.0/w1
Cannot find path 'C:\dl\onprem\27.2.42879.0\platform\ServiceTier\program files\Microsoft Dynamics NAV' because it does not ex
ist.
at Get-NavDvdServiceFolder, C:\Run\GetDvdArtifactPaths.ps1: line 19
at <ScriptBlock>, C:\Run\start.ps1: line 161
at <ScriptBlock>, <No file>: line 1Error
Using artifactUrl https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/onprem/27.2.42879.0/w1
Cannot find path 'C:\dl\onprem\27.2.42879.0\platform\ServiceTier\program files\Microsoft Dynamics NAV' because it does not ex
ist.
at Get-NavDvdServiceFolder, C:\Run\GetDvdArtifactPaths.ps1: line 19
at <ScriptBlock>, C:\Run\start.ps1: line 161
at <ScriptBlock>, <No file>: line 1
New-BCContainer Telemetry Correlation Id: 918769c5-97b7-49f2-b267-c863efd976e8
Initialization of container bcserv failed
At C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\6.1.10\ContainerHandling\Wait-NavContainerReady.ps1:42 
char:17
+ ...             throw "Initialization of container $containerName failed" ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Initialization ...r bcserv failed:String) [], RuntimeException
    + FullyQualifiedErrorId : Initialization of container bcserv failed

 
I have the same question (0)
  • Suggested answer
    Assisted by AI
    OussamaSabbouh Profile Picture
    6,268 on at
    Hello,
     
    This is a tooling/version mismatch, not your script.
    BC v27 on-prem artifacts no longer have the old Microsoft Dynamics NAV folder, but your current BcContainerHelper / image combo still expects it, so container startup fails.
    Fast fixes:
    Update BcContainerHelper to latest (prerelease) and retry.
    Or use v26 artifacts to confirm it works.
    Or force ltsc2022 image instead of ltsc2025.
    Once helper + image fully support v27, this error goes away.
     
    Regards,
    Oussama Sabbouh
  • Suggested answer
    YUN ZHU Profile Picture
    95,714 Super User 2025 Season 2 on at
    I've tested this before, but it was an older version. Hopefully, it will still give you some hints.
    Dynamics 365 Business Central in the first preview of Windows 11 (Testing SaaS, On-Premises, and Docker)
     
    Thanks.
    ZHU

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 2,664

#2
YUN ZHU Profile Picture

YUN ZHU 960 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans