Closed naveksa closed 4 years ago
You are using the same imageName as the Microsoft "old" images: mcr.microsoft.com/businesscentral/sandbox:dk That is wrong - if you specify an imagename together with artifacts it should be a name like: "myimage" and nothing else. This means that you are building an image called
mcr.microsoft.com/businesscentral/sandbox:dk (local image)
and then running
mcr.microsoft.com/businesscentral/sandbox:dk-ltsc2019 (microsoft image)
I will see if I can fix containerhelper to NOT add the ltsc2019 if the image was just build.
Great. Now we got a container created with no warnings :-)
Describe the issue Creating a new docker container with the new Artifact functions works fine, but we get this message:
WARNING: You are running a container which is 175 days old. Microsoft recommends that you always run the latest version of our containers.
Scripts used to create container and cause the issue New-BCContainer -accept_eula:$accept_eula
-accept_outdated: $accept_out
-containername $containername-artifactUrl $artifactUrl
-auth Windows-alwaysPull
-usessl:$false-updateHosts
-assignPremiumPlan-shortcuts Desktop
-imageName $navdockerimage-additionalParameters $additionalParameters
-licenseFile 'C:\Naveksa\5692763_BC16_300620.flf'Full output of scripts NavContainerHelper is version 0.7.0.23 NavContainerHelper is running as administrator Host is Microsoft Windows Server 2019 Datacenter - ltsc2019 Docker Client Version is 19.03.2 Docker Server Version is 19.03.2