Closed jensthomsenEV closed 6 years ago
enableSymbolLoading is a Switch - you should not put Y after that. the Y is by PowerShell interpreted as another parameter. the same with -alwaysPull - either you do it, or you don't.
GREAT! This did the work:-) My script now looks like this:
New-NavContainer `
-containerName "Nav2018CU2" `
-imageName "microsoft/dynamics-nav:2018-cu2-dk" `
-accept_eula `
-auth Windows `
-memoryLimit 3G `
-licenseFile "C:\NAV Docker Setup\2018-DK\Udvikler NAV 2018 inkl ISV_011217.flf"`
-IncludeCSide `
-updateHost `
-useSSL `
-doNotExportObjectsToText `
-enableSymbolLoading `
-alwaysPull
I'm able to run all the clients via windows authentication (great!), but in the web-client I get a certifcate error - the client is running but is showing an error (I would like to show the error but am not able to paste a picture in here:-(). Is there a way to get around this?
A request: Could it be possible with a switch like 'EnableVisualStudioCode' that pre-configures a new project to make it easy start coding in VS code?
You should not reopen something completely different to post a request. Having said that, what you are asking for is Ctrl+Shift P : AL Go! in VS Code to give you a start project. No plans to add further in the Azure VM's or containerhelper right now.
ok
While creating NAV 2018 Docker conterner im getting below error message
$imageName = "microsoft/dynamics-nav:2018" $containerName = "Name2018" $auth = "Windows" $licenseFile = "D:\NAVLicence\ScandiSysLic.flf" $shortcuts = "Desktop"
New-NavContainer -accept_eula -imageName $imageName
-containerName $containerName -auth $auth
-licenseFile $licenseFile -updateHosts
-accept_outdated -doNotCheckHealth
-shortcuts $shortcuts
Error Message
Starting Container
Hostname is Name2018
PublicDnsName is Name2018
You are trying to run a container which is more than 90 days old.
Microsoft recommends that you always run the latest version of our containers.
Set the environment variable ACCEPT_OUTDATED to 'Y' if you want to run this container anyway.
at
failed" ...
+ CategoryInfo : OperationStopped: (Initialization ...Name2018 failed:String) [], RuntimeException
+ FullyQualifiedErrorId : Initialization of container Name2018 failed
Please don't hijack closed issues - create a new issue instead. Having said that, I assume the reason is, that you somehow have split the line and the -accept_outdated somehow is not seen as part of the new-navcontainer.
I'm trying to get a docker up and running by use of the 'navcontainerhelper', but it doen't work:-( My script looks like this:
when running it, I first get prompted for user and password which I guess is just my windows credentials? The script terminates with this error:
By adding this line (thanks to RemKoD for replying on: )
-alwaysPull Y I get a little further but the script still terminated with an error:-(