Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker : At least 3Gb memory needs to be available to the Container #1187

Closed
ChristianFeitl opened this issue Aug 5, 2020 · 0 comments
Closed

Comments

@ChristianFeitl
Copy link

My PC has 16GB RAM, 9,5GB of which is used.

I execute
$auth = "NavUserPassword"
$credential = New-Object pscredential 'admin', (ConvertTo-SecureString -String 'P@ssword1' -AsPlainText -Force)
New-BCContainer -containerName BC16CU02
-accept_eula -auth $auth
-Credential $credential -imageName mcr.microsoft.com/businesscentral/onprem:2004-cu2-at-ltsc2019
-includeAL -doNotExportObjectsToText
-accept_outdated `
-updateHosts

that leads to
NavContainerHelper is version 0.7.0.23
NavContainerHelper is running as administrator
Host is Microsoft - 1909
Docker Client Version is 19.03.12
Docker Server Version is 19.03.12
Fetching all docker images
WARNING: You are running specific Docker images from mcr.microsoft.com. These images will no longer be updated, you should switch to user Docker artifacts. See https://freddysblog.com/2020/07
/05/july-updates-are-out-they-are-the-last-on-premises-docker-images/
Using image mcr.microsoft.com/businesscentral/onprem:2004-cu2-at-ltsc2019
Creating Container BC16CU02
Version: 16.2.13509.13779-at
Style: onprem
Platform: 16.0.13440.13772
Generic Tag: 0.0.9.99
Container OS Version: 10.0.17763.973 (ltsc2019)
Host OS Version: 10.0.18363.959 (1909)
The container operating system does not match the host operating system, forcing hyperv isolation.
Using locale de-AT
Using hyperv isolation
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Files in C:\ProgramData\NavContainerHelper\Extensions\BC16CU02\my:

  • AdditionalOutput.ps1
  • license.flf
  • MainLoop.ps1
  • SetupVariables.ps1
  • updatehosts.ps1
    Creating container BC16CU02 from image mcr.microsoft.com/businesscentral/onprem:2004-cu2-at-ltsc2019
    5b524e339049a74a68a8126ac5bbd00ddf54f5eea3da80f08d09b82c1067d4bf
    Waiting for container BC16CU02 to be ready
    docker : At least 3Gb memory needs to be available to the Container.
    In C:\Program Files\WindowsPowerShell\Modules\navcontainerhelper\0.7.0.23\ContainerHandling\Wait-NavContainerReady.ps1:32 Zeichen:21
  •         $logs = docker logs $containerName
    
  •                 ~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (At least 3Gb me... the Container.:String) [], RemoteException
    • FullyQualifiedErrorId : NativeCommandError

Originally posted by @ChristianFeitl in #1184 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants