microsoft / microsoft/hcsshim

encountered an error during hcsshim::System::Start: failure in a Windows system call: The virtual machine or container exited unexpectedly. (0xc0370106)

Open
#917 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
694
Forks
304
Avg merge
1d 19h
Merged PRs (30d)
28

Description

To install business central in docker I used

New-BCContainerWizard

and create following script to to create container

$containerName = 'bc17'
$password = 'P@ssw0rd'
$securePassword = ConvertTo-SecureString -String $password -AsPlainText -Force
$credential = New-Object pscredential 'admin', $securePassword
$auth = 'UserPassword'
$artifactUrl = Get-BcArtifactUrl -type 'Sandbox' -country 'us' -select 'Latest'
$licenseFile = 'D:\License\bc17.flf'
New-BcContainer `
    -accept_eula `
    -containerName $containerName `
    -credential $credential `
    -auth $auth `
    -artifactUrl $artifactUrl `
    -imageName 'mybc17' `
    -multitenant:$false `
    -licenseFile $licenseFile `
    -updateHosts

when I run the script it download images and run till the step 4/6 and I got error on step 5/6.

Below is the screenshot of error:

errror on prem

Docker version:
Docker Client Version: 20.10.0
Docker Server Version: 20.10.0

Host OS Version: 10.0.19042.685 (20H2)
Container OS Version: 10.0.19042.685 (20H2)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the New-BcContainer script with the listed Docker and host/container versions, then inspect the hcsshim::System::Start failure and related container logs. The payload names no repository file or test; done would require identifying a reproducible cause and documenting or fixing the failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, powershell
Domain
infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.