microsoft / navcontainerhelper

Official Microsoft repository for BcContainerHelper, a PowerShell module, which makes it easier to work with Business Central Containers on Docker.
MIT License
382 stars 244 forks source link

Unable to create docker BC 20.0.37253.38230/nz container #3479

Closed akhileshekartha closed 6 months ago

akhileshekartha commented 6 months ago

PLEASE DO NOT INCLUDE ANY PASSWORDS OR TOKENS IN YOUR ISSUE!!!

Describe the issue BcContainerHelper Version 6.0.15 Error hitting BC Run-AlPipeline for BC 20.0.37253.38230/nz

DockerDo : re-exec error: exit status 1: output: hcsshim::ImportLayer failed in Win32: The system cannot find the path specified. (0x3)

Scripts used to create container and cause the issue

Run-AlPipeline  -containerName $ContainerName `
    -baseFolder $WorkFolder `
    -credential $credential `
    -keepContainer `
    -licenseFile $latest_License `
    -CreateRuntimePackages `
    -BuildArtifactFolder $WorkFolder\AppFiles `
    -accept_insiderEula `
    -previousApps $Previousapp `
    -installApps $a `
    -pipeline $ProjectName `
    -azureDevOps `
    -appFolders @("Project") `
    -AppRevision $AppRevision `
    -AppBuild $buildID `
    -artifact $bcArtifacts 

Full output of scripts


2024-04-09T19:37:02.7119390Z ##[section]Starting: Compile and Build Package
2024-04-09T19:37:02.7263154Z ==============================================================================
2024-04-09T19:37:02.7263322Z Task         : PowerShell
2024-04-09T19:37:02.7263397Z Description  : Run a PowerShell script on Linux, macOS, or Windows
2024-04-09T19:37:02.7263499Z Version      : 2.237.5
2024-04-09T19:37:02.7263589Z Author       : Microsoft Corporation
2024-04-09T19:37:02.7263672Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2024-04-09T19:37:02.7263959Z ==============================================================================
2024-04-09T19:37:04.0060012Z Generating script.
2024-04-09T19:37:04.0887376Z Formatted command: . 'C:\agent\_work\64\BuildScript\Build.ps1' -workFolder C:\agent\_work\64 -ProjectName "***New Zealand" -bcCountry nz -buildID  "20240409" -AppRevision  1502
2024-04-09T19:37:04.1293539Z ========================== Starting Command Output ===========================
2024-04-09T19:37:04.1677519Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'C:\agent\_work\_temp\7e41bd55-013d-48f1-9046-0ddadaaac325.ps1'"
2024-04-09T19:37:04.6025032Z --------------------
2024-04-09T19:37:04.6033101Z | Check and install BcContainerHelper start |
2024-04-09T19:37:04.6042829Z --------------------
2024-04-09T19:37:07.6485116Z BcContainerHelper version 6.0.15
2024-04-09T19:37:08.3595790Z BC.HelperFunctions emits usage statistics telemetry to Microsoft
2024-04-09T19:37:08.8143747Z Running on Windows, PowerShell 5.1.20348.2227
2024-04-09T19:37:16.5602606Z --------------------
2024-04-09T19:37:16.5611997Z | Check and install BcContainerHelper end |
2024-04-09T19:37:16.5622430Z --------------------
2024-04-09T19:37:19.2481431Z https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/onprem/20.0.37253.38230/nz
2024-04-09T19:37:19.2481996Z C:\agent\_work\64
2024-04-09T19:37:19.2550957Z C:\agent\_work\64\License\####.flf
2024-04-09T19:37:19.5087069Z   _____                               _
2024-04-09T19:37:19.5087353Z  |  __ \                             | |
2024-04-09T19:37:19.5087673Z  | |__) |_ _ _ __ __ _ _ __ ___   ___| |_ ___ _ __ ___
2024-04-09T19:37:19.5088313Z  |  ___/ _` | '__/ _` | '_ ` _ \ / _ \ __/ _ \ '__/ __|
2024-04-09T19:37:19.5088651Z  | |  | (_| | | | (_| | | | | | |  __/ |_  __/ |  \__ \
2024-04-09T19:37:19.5088878Z  |_|   \__,_|_|  \__,_|_| |_| |_|\___|\__\___|_|  |___/
2024-04-09T19:37:19.5089037Z 
2024-04-09T19:37:19.5116648Z Pipeline name                   ***New Zealand
2024-04-09T19:37:19.5136207Z Container name                  Ovation
2024-04-09T19:37:19.5154956Z Image name                      my
2024-04-09T19:37:19.5174164Z ArtifactUrl                     https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/onprem/20.0.37253.38230/nz
2024-04-09T19:37:19.5192944Z BcAuthContext                   Not Specified
2024-04-09T19:37:19.5208435Z Environment                     
2024-04-09T19:37:19.5227496Z ReUseContainer                  False
2024-04-09T19:37:19.5246241Z KeepContainer                   True
2024-04-09T19:37:19.5263492Z useCompilerFolder               False
2024-04-09T19:37:19.5278103Z artifactCachePath               
2024-04-09T19:37:19.5296065Z useDevEndpoint                  False
2024-04-09T19:37:19.5314931Z Auth                            UserPassword
2024-04-09T19:37:19.5329694Z CompanyName                     
2024-04-09T19:37:19.5348820Z MemoryLimit                     8G
2024-04-09T19:37:19.5367298Z FailOn                          none
2024-04-09T19:37:19.5386799Z TreatTestFailuresAsWarnings     False
2024-04-09T19:37:19.5406025Z Enable Task Scheduler           False
2024-04-09T19:37:19.5426248Z Assign Premium Plan             False
2024-04-09T19:37:19.5446108Z Install Test Runner             False
2024-04-09T19:37:19.5464066Z Install Test Framework          False
2024-04-09T19:37:19.5482397Z Install Test Libraries          False
2024-04-09T19:37:19.5501830Z Install Perf. Toolkit           False
2024-04-09T19:37:19.5520725Z InstallOnlyReferencedApps       False
2024-04-09T19:37:19.5540096Z generateDependencyArtifact      False
2024-04-09T19:37:19.5557818Z CopySymbolsFromContainer        False
2024-04-09T19:37:19.5575681Z enableCodeCop                   False
2024-04-09T19:37:19.5595151Z enableAppSourceCop              False
2024-04-09T19:37:19.5612573Z enableUICop                     False
2024-04-09T19:37:19.5631024Z enablePerTenantExtensionCop     False
2024-04-09T19:37:19.5650574Z enableCodeAnalyzersOnTestApps   False
2024-04-09T19:37:19.5670102Z doNotPerformUpgrade             False
2024-04-09T19:37:19.5689346Z doNotPublishApps                False
2024-04-09T19:37:19.5709208Z uninstallRemovedApps            False
2024-04-09T19:37:19.5726703Z escapeFromCops                  False
2024-04-09T19:37:19.5745457Z doNotBuildTests                 False
2024-04-09T19:37:19.5762777Z doNotRunTests                   False
2024-04-09T19:37:19.5779321Z doNotRunBcptTests               False
2024-04-09T19:37:19.5796776Z useDefaultAppSourceRuleSet      False
2024-04-09T19:37:19.5810352Z rulesetFile                     
2024-04-09T19:37:19.5827537Z generateErrorLog                False
2024-04-09T19:37:19.5846196Z enableExternalRulesets          False
2024-04-09T19:37:19.5862942Z azureDevOps                     True
2024-04-09T19:37:19.5878989Z gitLab                          False
2024-04-09T19:37:19.5896155Z gitHubActions                   False
2024-04-09T19:37:19.5911981Z vsixFile                        
2024-04-09T19:37:19.5930522Z License file                    Specified
2024-04-09T19:37:19.5942366Z CodeSignCertPfxFile             Not specified
2024-04-09T19:37:19.5972100Z CodeSignCertPfxPassword         Not specified
2024-04-09T19:37:19.6011031Z CodeSignCertIsSelfSigned        False
2024-04-09T19:37:19.6023031Z KeyVaultCertPfxFile             Not specified
2024-04-09T19:37:19.6033268Z KeyVaultCertPfxPassword         Not specified
2024-04-09T19:37:19.6045566Z KeyVaultClientId                
2024-04-09T19:37:19.6058612Z BuildOutputFile                 
2024-04-09T19:37:19.6071347Z ContainerEventLogFile           
2024-04-09T19:37:19.6088053Z TestResultsFile                 C:\agent\_work\64\TestResults.xml
2024-04-09T19:37:19.6105982Z BcptTestResultsFile             C:\agent\_work\64\bcptTestResults.json
2024-04-09T19:37:19.6123952Z TestResultsFormat               JUnit
2024-04-09T19:37:19.6168385Z AdditionalCountries             
2024-04-09T19:37:19.6186924Z PackagesFolder                  C:\agent\_work\64\.packages
2024-04-09T19:37:19.6204978Z OutputFolder                    C:\agent\_work\64\.output
2024-04-09T19:37:19.6223948Z BuildArtifactFolder             C:\agent\_work\64\AppFiles
2024-04-09T19:37:19.6242914Z CreateRuntimePackages           True
2024-04-09T19:37:19.6256312Z AppVersion                      
2024-04-09T19:37:19.6273871Z AppBuild                        20240409
2024-04-09T19:37:19.6293849Z AppRevision                     1502
2024-04-09T19:37:19.6309719Z SourceRepositoryUrl             
2024-04-09T19:37:19.6324615Z SourceCommit                    
2024-04-09T19:37:19.6342433Z BuildBy                         BcContainerHelper,6.0.15
2024-04-09T19:37:19.6358262Z BuildUrl                        
2024-04-09T19:37:19.6367464Z Install Apps
2024-04-09T19:37:19.6518190Z - C:\agent\_work\64\Dependency\Dynamics 365\Apps\### New Zealand Ltd._### Banking_20.0.20240326.1255.app
2024-04-09T19:37:19.6528452Z - C:\agent\_work\64\Dependency\Dynamics 365\Apps\### New Zealand Ltd._### MeatPro_20.0.20240408.1488.app
2024-04-09T19:37:19.6537932Z Install Test Apps
2024-04-09T19:37:19.6548032Z - None
2024-04-09T19:37:19.6557961Z Previous Apps
2024-04-09T19:37:19.6585178Z - C:\agent\_work\64\PreviosVersion\Dynamics 365\RuntimePackages\01 - ### New Zealand Ltd._***New Zealand_20.0.20240408.1479.runtime.app
2024-04-09T19:37:19.6594647Z Application folders
2024-04-09T19:37:19.6620513Z - C:\agent\_work\64\Project
2024-04-09T19:37:19.6630311Z Test application folders
2024-04-09T19:37:19.6640132Z - None
2024-04-09T19:37:19.6648800Z BCPT Test application folders
2024-04-09T19:37:19.6657971Z - None
2024-04-09T19:37:19.6667842Z BCPT Test suites
2024-04-09T19:37:19.6676718Z - None
2024-04-09T19:37:19.6684654Z Custom CodeCops
2024-04-09T19:37:19.6693687Z - None
2024-04-09T19:37:19.7248750Z 
2024-04-09T19:37:19.7249565Z   _____       _ _ _                                          _        _
2024-04-09T19:37:19.7250715Z  |  __ \     | | (_)                                        (_)      (_)
2024-04-09T19:37:19.7251107Z  | |__) |   _| | |_ _ __   __ _    __ _  ___ _ __   ___ _ __ _  ___   _ _ __ ___   __ _  __ _  ___
2024-04-09T19:37:19.7251857Z  |  ___/ | | | | | | '_ \ / _` |  / _` |/ _ \ '_ \ / _ \ '__| |/ __| | | '_ ` _ \ / _` |/ _` |/ _ \
2024-04-09T19:37:19.7252201Z  | |   | |_| | | | | | | | (_| | | (_| |  __/ | | |  __/ |  | | (__  | | | | | | | (_| | (_| |  __/
2024-04-09T19:37:19.7252660Z  |_|    \__,_|_|_|_|_| |_|\__, |  \__, |\___|_| |_|\___|_|  |_|\___| |_|_| |_| |_|\__,_|\__, |\___|
2024-04-09T19:37:19.7252992Z                            __/ |   __/ |                                                 __/ |
2024-04-09T19:37:19.7253239Z                           |___/   |___/                                                 |___/
2024-04-09T19:37:19.7253370Z 
2024-04-09T19:37:20.1002305Z Pulling mcr.microsoft.com/businesscentral:ltsc2022
2024-04-09T19:37:20.6224842Z 
2024-04-09T19:37:20.6226820Z Pulling generic image took 1 seconds
2024-04-09T19:37:20.6635421Z 
2024-04-09T19:37:20.6636408Z    _____                _   _                               _        _
2024-04-09T19:37:20.6636643Z   / ____|              | | (_)                             | |      (_)
2024-04-09T19:37:20.6636917Z  | |     _ __ ___  __ _| |_ _ _ __   __ _    ___ ___  _ __ | |_ __ _ _ _ __   ___ _ __
2024-04-09T19:37:20.6637901Z  | |    | '__/ _ \/ _` | __| | '_ \ / _` |  / __/ _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
2024-04-09T19:37:20.6638589Z  | |____| | |  __/ (_| | |_| | | | | (_| | | (__ (_) | | | | |_ (_| | | | | |  __/ |
2024-04-09T19:37:20.6638867Z   \_____|_|  \___|\__,_|\__|_|_| |_|\__, |  \___\___/|_| |_|\__\__,_|_|_| |_|\___|_|
2024-04-09T19:37:20.6639125Z                                      __/ |
2024-04-09T19:37:20.6639316Z                                     |___/
2024-04-09T19:37:20.6639391Z 
2024-04-09T19:37:20.8410437Z Creaing docker container
2024-04-09T19:37:21.3098030Z BcContainerHelper is version 6.0.15
2024-04-09T19:37:21.3108174Z BcContainerHelper is running as administrator
2024-04-09T19:37:22.7201194Z HyperV is Disabled
2024-04-09T19:37:22.7234078Z UsePsSession is True
2024-04-09T19:37:22.7269507Z UsePwshForBc24 is True
2024-04-09T19:37:22.7293449Z Host is Microsoft Windows Server 2022 Datacenter - 10.0.20348.2340
2024-04-09T19:37:22.7942065Z Docker Client Version is 25.0.2
2024-04-09T19:37:22.7956587Z Docker Server Version is 25.0.2
2024-04-09T19:37:22.9815771Z Removing Desktop shortcuts
2024-04-09T19:37:23.6640343Z Fetching all docker images
2024-04-09T19:37:23.7448089Z Fetching all docker volumes
2024-04-09T19:37:23.8003380Z ArtifactUrl and ImageName specified
2024-04-09T19:37:24.5896867Z Building image my:onprem-20.0.37253.38230-nz based on mcr.microsoft.com/businesscentral:ltsc2022 with https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/onprem/20.0.37253.38230/nz
2024-04-09T19:37:24.5908721Z Pulling latest image mcr.microsoft.com/businesscentral:ltsc2022
2024-04-09T19:37:24.9667768Z ltsc2022: Pulling from businesscentral
2024-04-09T19:37:24.9723846Z Digest: sha256:44f326d1f5a4e5bf0b3f264a52ca700b15d3c4e634ceedae72280f106038d09f
2024-04-09T19:37:24.9740603Z Status: Image is up to date for mcr.microsoft.com/businesscentral:ltsc2022
2024-04-09T19:37:24.9834008Z mcr.microsoft.com/businesscentral:ltsc2022
2024-04-09T19:37:25.0741910Z Generic Tag: 1.0.2.18
2024-04-09T19:37:25.1552145Z Container OS Version: 10.0.20348.2340 (ltsc2022)
2024-04-09T19:37:25.1564395Z Host OS Version: 10.0.20348.2340 (ltsc2022)
2024-04-09T19:37:25.1640373Z Using process isolation
2024-04-09T19:37:25.1787243Z Using license file C:\agent\_work\64\License\####.flf
2024-04-09T19:37:25.1798792Z Files in c:\bcartifacts.cache\jfm4r5z5.mkj\my:
2024-04-09T19:37:25.1890412Z Copying Platform Artifacts
2024-04-09T19:37:25.1968967Z c:\bcartifacts.cache\onprem\20.0.37253.38230\platform
2024-04-09T19:37:47.0464119Z Copying Database
2024-04-09T19:37:50.8664915Z Copying Licensefile
2024-04-09T19:37:51.4133047Z Copying Applications
2024-04-09T19:37:51.4143743Z C:\bcartifacts.cache\onprem\20.0.37253.38230\nz\Applications
2024-04-09T19:37:59.8644280Z c:\bcartifacts.cache\jfm4r5z5.mkj
2024-04-09T19:38:38.3825696Z Sending build context to Docker daemon  1.777GB
2024-04-09T19:38:38.3837425Z 
2024-04-09T19:38:38.7167047Z Step 1/6 : FROM mcr.microsoft.com/businesscentral:ltsc2022
2024-04-09T19:38:38.7186117Z  ---> 414f65e50c6c
2024-04-09T19:38:38.7200080Z Step 2/6 : ENV DatabaseServer=localhost DatabaseInstance=SQLEXPRESS DatabaseName=CRONUS IsBcSandbox=N artifactUrl=https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/onprem/20.0.37253.38230/nz filesOnly=False
2024-04-09T19:38:39.1983114Z  ---> Running in 8f586d524296
2024-04-09T19:38:41.4536221Z  ---> Removed intermediate container 8f586d524296
2024-04-09T19:38:41.4552470Z  ---> fc3b38721e85
2024-04-09T19:38:41.4564358Z Step 3/6 : COPY my /run/
2024-04-09T19:38:43.0092368Z  ---> 32a8cd82b539
2024-04-09T19:38:43.0107242Z Step 4/6 : COPY NAVDVD /NAVDVD/
2024-04-09T19:41:01.7960317Z  ---> 316c3b638dd7
2024-04-09T19:41:01.7975340Z Step 5/6 : RUN \Run\start.ps1 -installOnly
2024-04-09T19:41:02.5068812Z  ---> Running in 65a50f89c85f
2024-04-09T19:41:09.8368597Z c:\run\my folder doesn't exist, creating it
2024-04-09T19:41:10.5269355Z Using DVD installer from C:\Run\150-new
2024-04-09T19:41:10.7045525Z Installing Business Central: multitenant=False, installOnly=True, filesOnly=False, includeTestToolkit=False, includeTestLibrariesOnly=False, includeTestFrameworkOnly=False, includePerformanceToolkit=False, appArtifactPath=, platformArtifactPath=, databasePath=, licenseFilePath=, rebootContainer=False
2024-04-09T19:41:10.7374451Z Installing from DVD
2024-04-09T19:41:10.7566191Z Starting Local SQL Server
2024-04-09T19:41:13.8893787Z Starting Internet Information Server
2024-04-09T19:41:14.3588064Z Copying Service Tier Files
2024-04-09T19:41:14.3688478Z C:\NAVDVD\ServiceTier\Program Files
2024-04-09T19:41:18.7730194Z C:\NAVDVD\ServiceTier\System64Folder
2024-04-09T19:41:19.6905972Z Copying PowerShell Scripts
2024-04-09T19:41:19.6920935Z C:\NAVDVD\WindowsPowerShellScripts\Cloud\NAVAdministration
2024-04-09T19:41:19.8145972Z C:\NAVDVD\WindowsPowerShellScripts\WebSearch
2024-04-09T19:41:19.8459540Z Copying Web Client Files
2024-04-09T19:41:19.8477037Z C:\NAVDVD\WebClient\Microsoft Dynamics NAV
2024-04-09T19:41:28.2414017Z Copying Client Files
2024-04-09T19:41:28.2429299Z C:\NAVDVD\LegacyDlls\program files\Microsoft Dynamics NAV
2024-04-09T19:41:29.1006278Z C:\NAVDVD\LegacyDlls\program files\Microsoft Dynamics NAV
2024-04-09T19:41:29.1760498Z C:\NAVDVD\LegacyDlls\systemFolder
2024-04-09T19:41:29.2374410Z Copying ModernDev Files
2024-04-09T19:41:29.2389319Z C:\NAVDVD
2024-04-09T19:41:29.2681508Z C:\NAVDVD\ModernDev\program files\Microsoft Dynamics NAV
2024-04-09T19:41:30.2403981Z Copying additional files
2024-04-09T19:41:30.2556026Z Copying ConfigurationPackages
2024-04-09T19:41:30.2573579Z C:\NAVDVD\ConfigurationPackages
2024-04-09T19:41:30.3006864Z Copying Test Assemblies
2024-04-09T19:41:30.3025683Z C:\NAVDVD\Test Assemblies
2024-04-09T19:41:30.3438462Z Copying Applications
2024-04-09T19:41:30.3453753Z C:\NAVDVD\Applications
2024-04-09T19:41:34.2515093Z Copying dependencies
2024-04-09T19:41:34.4802550Z Copying ReportBuilder
2024-04-09T19:41:52.2131894Z Importing PowerShell Modules
2024-04-09T19:41:55.3285253Z Restoring CRONUS Demo Database
2024-04-09T19:42:07.7931170Z Setting CompatibilityLevel for CRONUS on localhost\SQLEXPRESS
2024-04-09T19:42:08.8648275Z Modifying Business Central Service Tier Config File for Docker
2024-04-09T19:42:08.9136799Z Creating Business Central Service Tier
2024-04-09T19:42:09.1255707Z Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
2024-04-09T19:42:09.4524617Z Starting Business Central Service Tier
2024-04-09T19:44:39.3478567Z Importing CRONUS license file
2024-04-09T19:44:40.7520230Z Stopping Business Central Service Tier
2024-04-09T19:44:41.0251095Z Installation took 210 seconds
2024-04-09T19:44:41.0271325Z Installation complete
2024-04-09T19:47:33.9008036Z New-Bcimage Telemetry Correlation Id: 18a34624-c983-454a-8814-9eca5570c4be
2024-04-09T19:47:34.4316271Z New-BcContainer Telemetry Correlation Id: 8d1ef149-c5f8-4a80-8fdd-7799874d8721
2024-04-09T19:47:35.0880656Z Run-AlPipeline Telemetry Correlation Id: 49e78876-0f8b-4c87-bfb7-c1b103f92de1
2024-04-09T19:47:35.2515319Z DockerDo : re-exec error: exit status 1: output: hcsshim::ImportLayer failed in Win32: The system cannot find the path 
2024-04-09T19:47:35.2515881Z specified. (0x3)
2024-04-09T19:47:35.2516079Z ExitCode: 1
2024-04-09T19:47:35.2516956Z Commandline: docker build --isolation=process --memory 8G --no-cache --tag my:onprem-20.0.37253.38230-nz 
2024-04-09T19:47:35.2517386Z c:\bcartifacts.cache\jfm4r5z5.mkj
2024-04-09T19:47:35.2517982Z At C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\6.0.15\ContainerHandling\New-NavImage.ps1:711 char:27
2024-04-09T19:47:35.2518588Z + ...       if (!(DockerDo -command build -parameters @("--isolation=$isola ...
2024-04-09T19:47:35.2518956Z +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2024-04-09T19:47:35.2519301Z     + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
2024-04-09T19:47:35.2519535Z     + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,DockerDo
2024-04-09T19:47:35.2519721Z  
2024-04-09T19:47:35.4214216Z ##[error]PowerShell exited with code '1'.
2024-04-09T19:47:35.4717280Z ##[section]Finishing: Compile and Build Package
...

Screenshots If applicable, add screenshots to help explain your problem.

image

freddydk commented 6 months ago

Looks like the problem is with creating an image. You can try two things: add -imageName "" to the Run-AlPipeline Clean up your docker filesystem using this method: https://freddysblog.com/2018/12/11/clean-up-after-yourself-docker-your-mom-isnt-here/

and let me know if this works.

Thanks

akhileshekartha commented 6 months ago

Thanks for your fast response. I ran the Docker cleanup script, but it didn't fix the problem. The same error kept happening. Then, I modified the script by adding -imageName "", and that resolved the issue. Sorry about the confusion. For another project, the Run-AlPipeline worked fine on Docker versions BC23 and BC25 on the same docker machine. I mistakenly thought there was a problem with the version BC20 image.

freddydk commented 6 months ago

I have seen an increasingly number of people, where creating images fails. Not sure why this is - but it seems to be docker / host related. Setting imageName to blank means that it skips the image creation and just creates the container directly.

akhileshekartha commented 6 months ago

Hi , I'm not sure if it's related to the Microsoft image, but it was operating till yesterday and only started throwing this error this morning, while other projects, including the BC23 version, were running normally on the same Docker machine.

freddydk commented 6 months ago

Thanks for the info - I will keep this in mind if I see more of this