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

Community site session details

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

Can i use the New-NavContainer in powershell to host a container in Azure or is it just for OnPrem ?

(0) ShareShare
ReportReport
Posted on by 10

I am trying to use the following to create a container in Azure:

New-NavContainer -accept_eula -containerName "test" -auth Windows -imageName 
"mcr.microsoft.com/businesscentral/sandbox:base" -includeCSide -enableSymbolLoading -licenseFile 
"licence.flf"
The reason I was using New-NavContainer is because it allows to specify the licence file.

But it doesnt seem to allow setting the ResourceGroup in Azure: So instead i tried using the following:

az container create --name ….

Does the New-NavContainer on host locally ? 




I have the same question (0)
  • Suggested answer
    THE Italian Profile Picture
    on at
    RE: Can i use the New-NavContainer in powershell to host a container in Azure or is it just for OnPrem ?

    getbc will create a fully fldeged VM with Docker and VS Code installed. Container could be access remotely if you need to do development and/or UAT. 

    If you have very specific inquiries about New-NAVContainer or navcontainerhelper library in general, I would strongly suggest you to post your inquiries here

    https://github.com/Microsoft/navcontainerhelper/issues

  • Debbie-S Profile Picture
    10 on at
    RE: Can i use the New-NavContainer in powershell to host a container in Azure or is it just for OnPrem ?

    But is that an actual container ?at the moment I can deploy to a container and just get the url and browse to it. Wil this create a VM as well  ? Will it create a container in the Container Instances for me to browse to ?

  • Suggested answer
    THE Italian Profile Picture
    on at
    RE: Can i use the New-NavContainer in powershell to host a container in Azure or is it just for OnPrem ?

    It won't work.

    You could use it on a local VM or in your own laptop.

    You can also use http://aka.ms/getbc  this will create everything for you (it is an Azure VM with Docker and all artifacts already installed). 

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

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

#1
Sumit Singh Profile Picture

Sumit Singh 2,708

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 2,675 Super User 2025 Season 2

#3
Jeffrey Bulanadi Profile Picture

Jeffrey Bulanadi 2,203

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans