Replies: 1 comment 1 reply
-
Hi @Elvleh Docker is indeed needed when creating a cloud environment, as the apps to be published are first compiled using a BC container. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
Hoping to get some guidance while navigating AL-Go. I'm trying to create online dev. environment by running cloudDevEnv.ps1 in VSCode, but keep getting the following error:
error during connect: this error may indicate that the docker daemon is not running: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.51/containers/json?all=1": open //./pipe/docker_engine: The system cannot find the file specified.
Would anyone be able to shed some light on why I might get this? My understanding was that one does not require Docker installed locally when creating online dev. environment. Have I missed something here?
Logs below. Have a lovely day everyone!
/ | | | | | __ \ | |
| | | | ___ _ _ | | | | | | _____ __ | _ ____ __
| | | |/ _ | | | |/ ` | | | | |/ _ \ \ / / _| | ' \ \ / /
| || | () | || | (| | | |__| | __/\ V /| || | | \ V /
_||___/ _,|_,| |/ _| _/ ||| ||_/
Downloading Github-Helper.psm1 from https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.2/Github-Helper.psm1
Downloading AL-Go-Helper.ps1 from https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.2/AL-Go-Helper.ps1
Downloading settings.schema.json from https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.2/settings.schema.json
Downloading Packages.json from https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.2/Packages.json
This script will create a cloud based development environment (Business Central SaaS Sandbox) for your project.
All apps and test apps will be compiled and published to the environment in the development scope.
The script will also modify launch.json to have a "Cloud Sandbox ()" configuration point to your environment.
Environment name
Please enter the name of the environment to create (default admelehtilae-sandbox) MM_DEV
mm_dev selected
What if the environment already exists?
a Reuse existing environment
b Recreate environment
Select behavior (default b) a
Reuse existing environment selected
Downloading BcContainerHelper latest version from Blob Storage
Using 7zip
Import from C:\ProgramData\BcContainerHelper\6.1.6\BcContainerHelper\BcContainerHelper.ps1
BcContainerHelper version 6.1.6
BC.HelperFunctions emits usage statistics telemetry to Microsoft
Running on Windows, PowerShell 7.5.2
Applying settings from C:\scripts\AL-Go_Test.github\AL-Go-Settings.json
Applying settings from C:\scripts\AL-Go_Test\MMLCorporate.AL-Go\settings.json
No settings found in C:\scripts\AL-Go_Test.github\cloudDevEnv.settings.json
No settings found in C:\scripts\AL-Go_Test\MMLCorporate.AL-Go\cloudDevEnv.settings.json
No settings found in C:\scripts\AL-Go_Test\MMLCorporate.AL-Go\admelehtilae.settings.json
Checking type
Checking appFolders, testFolders and bcptTestFolders
Application Dependency 25.0.0.0
Updating app- and test Dependencies
Analyzing Test App Dependencies
No performance test apps found in bcptTestFolders in .AL-Go\settings.json
WARNING: No test apps found in testFolders in .AL-Go\settings.json
Checking appDependencyProbingPaths
Attempting authentication to https://api.businesscentral.dynamics.com/user_impersonation offline_access using device login...
To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code P5AVUCZ58 to authenticate.
Waiting for authentication (interval=5).............
Authenticated from 119.18.0.15 as user Elsa Lehtilae
Authenticated to common, using tenant id 454c4cde-05fc-4f68-bd62-12b57dafb23e
Downloading Platform index to C:\Users\admelehtilae\AppData\Local\Temp\bcContainerHelper.platform.json
Downloading au index to C:\Users\admelehtilae\AppData\Local\Temp\bcContainerHelper.au.json
Using Artifacts: https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/sandbox/26.4.37194.37925/au
Downloading Platform index to C:\Users\admelehtilae\AppData\Local\Temp\bcContainerHelper.platform.json
Downloading au index to C:\Users\admelehtilae\AppData\Local\Temp\bcContainerHelper.au.json
https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/sandbox/26.4.37194.37925/au
Parameters
| __ \ | |
| |) |_ _ _ __ __ _ _ __ ___ | | ___ _ __ ___
| /
| '__/ _
| ' ` _ \ / _ \ / _ \ '/ __|| | | (| | | | (| | | | | | | _/ | _/ | _
|| _,|| _,|| || ||_|____|| |___/
Pipeline name cloudDevEnv
Container name bcServerFilesOnly
Image name
ArtifactUrl https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/sandbox/26.4.37194.37925/au
BcAuthContext Specified
Environment mm_dev
ReUseContainer False
KeepContainer False
useCompilerFolder False
artifactCachePath
useDevEndpoint True
Auth UserPassword
CompanyName
MemoryLimit 8G
FailOn error
TreatTestFailuresAsWarnings False
Enable Task Scheduler False
Assign Premium Plan False
Install Test Runner False
Install Test Framework False
Install Test Libraries False
Install Perf. Toolkit False
InstallOnlyReferencedApps True
generateDependencyArtifact False
CopySymbolsFromContainer False
enableCodeCop False
enableAppSourceCop False
enableUICop False
enablePerTenantExtensionCop True
enableCodeAnalyzersOnTestApps False
doNotPerformUpgrade False
doNotPublishApps False
uninstallRemovedApps False
escapeFromCops False
doNotBuildTests False
doNotRunTests True
doNotRunBcptTests True
doNotRunPageScriptingTests False
useDefaultAppSourceRuleSet False
rulesetFile
generateErrorLog False
enableExternalRulesets False
azureDevOps False
gitLab False
gitHubActions False
vsixFile
License file Not specified
CodeSignCertPfxFile Not specified
CodeSignCertPfxPassword Not specified
CodeSignCertIsSelfSigned False
KeyVaultCertPfxFile Not specified
KeyVaultCertPfxPassword Not specified
KeyVaultClientId
BuildOutputFile
ContainerEventLogFile
TestResultsFile C:\scripts\AL-Go_Test\MMLCorporate\TestResults.xml
BcptTestResultsFile C:\scripts\AL-Go_Test\MMLCorporate\bcptTestResults.json
TestResultsFormat JUnit
AdditionalCountries
PackagesFolder C:\scripts\AL-Go_Test\MMLCorporate.packages
OutputFolder
BuildArtifactFolder
CreateRuntimePackages False
AppVersion
AppBuild 0
AppRevision 0
SourceRepositoryUrl
SourceCommit
BuildBy BcContainerHelper,6.1.6
BuildUrl
Install Apps
Install Test Apps
Previous Apps
Application folders
Test application folders
BCPT Test application folders
BCPT Test suites
Page Scripting Tests
Custom CodeCops
Resolving dependencies
| __ \ | | () | | | | ()
| |) |_ ___ ___ | |_ ___ _ __ __ _ | | ___ _ __ ___ _ __ | | ___ _ __ ___ _ ___ ___
| _ // _ \ |/ _ | \ \ / / | ' \ /
| / _
|/ _ \ ' \ / _ \ ' \ / ` |/ _ \ ' \ / | |/ _ \ || | \ \ _ \ () | |\ V /| | | | | (| | | (| | __/ |) | / | | | (| | / | | | (| | __
|| __|/_/|| _/ ||| ||_, | _,_|_| ./ _|| ||_,|_|| ||_|_|_|_/
/ | | |
|/ ||
Sorted App folders
C:\scripts\AL-Go_Test\MMLCorporate\MMCORPORATE
External dependencies
d93e15de-5b31-4381-98db-af2ed8df21fd:Dynamics Consultants Ltd._Netstock Integration_19.0.0.49.app
437dbf0e-84ff-417a-965d-ed2bb9650972:Microsoft_Base Application_25.0.0.0.app
63ca2fa4-4f03-4f2b-a480-172fef340d3f:Microsoft_System Application_25.0.0.0.app
f3552374-a1f2-4356-848e-196002525837:Microsoft_Business Foundation_25.0.0.0.app
Sorted TestApp folders
None
Compiling apps
/ | () ()
| | ___ _ __ ___ _ __ | | _ __ __ _ __ _ _ __ _ __ ___
| | / _ | '
_ \| '_ \| | | | '_ \ / _
| / ` | ' | ' / || |__ () | | | | | | |) | | | | | | | (| | | (| | |) | |) __
____/|| || || .__/||||| ||_, | _,| ./| ./|/
| | __/ | | | | |
|| |/ || ||
| __ \ | | () () ()
| |__) | | | | _ __ __ _ __ _ ___ _ __ ___ _ __ _ ___ _ _ __ ___ __ _ __ _ ___
| / | | | | | | ' \ /
| / _
|/ _ \ ' \ / _ \ '| |/ _| | | '_ \ / _
|/ ` |/ _| | | || | | | | | | | (| | | (| | __/ | | | / | | | ( | | | | | | | (| | (| | __/
|| _,||||| ||_, | _, |___|| ||___|| ||___| ||| || ||_,|_, |_|
/ | / | / |
|/ |/ |_/
PS CallStack :
Pulling mcr.microsoft.com/businesscentral:ltsc2025-filesonly
error during connect: this error may indicate that the docker daemon is not running: Post "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.51/images/create?fromImage=mcr.microsoft.com%2Fbusinesscentral&tag=ltsc2025-filesonly": open //./pipe/docker_engine: The system cannot find the file specified.
Pulling generic image took 2 seconds
/ | | | () / | | | ()
| | _ __ ___ __ | | _ _ __ __ _ | | ___ _ __ | | __ _ _ _ __ ___ _ __
| | | '__/ _ /
| __| | '_ \ / _
| | | / _ | ' | / ` | | ' \ / _ \ '|| || | | __/ (| | || | | | | (| | | || () | | | | || (| | | | | | __/ |
_|| ___|_,|_||| ||_, | ____/|| ||__,||| ||___||
/ |
|_/
PS CallStack :
error during connect: this error may indicate that the docker daemon is not running: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.51/containers/json?all=1": open //./pipe/docker_engine: The system cannot find the file specified.
error during connect: this error may indicate that the docker daemon is not running: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.51/containers/json?all=1&filters=%7B%22id%22%3A%7B%22bcServerFilesOnly%22%3Atrue%7D%7D": open //./pipe/docker_engine: The system cannot find the file specified.
Creaing docker container
WARNING: Container name should not exceed 15 characters
BcContainerHelper is version 6.1.6
BcContainerHelper is running as administrator
HyperV is Disabled
Host is Microsoft Windows 11 Pro - 10.0.26100.4656
UsePsSession is True
UsePwshForBc24 is True
UseWinRmSession is allow
UseSslForWinRmSession is True
Dockerd process not found. Docker might not be started, not installed or not running Windows Containers. If Docker Desktop is already installed, open the system tray, right-click on the Docker icon, and select 'Switch to Windows containers...'
error during connect: this error may indicate that the docker daemon is not running: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.51/version": open //./pipe/docker_engine: The system cannot find the file specified.
New-BcContainer Telemetry Correlation Id: a3d7f8ad-45c9-4507-ab0f-3cc7bef1f363
Removing container
Run-AlPipeline Telemetry Correlation Id: 40eab04c-20c8-4b9c-b4c0-2c6e30472897
Error: Docker service is not yet ready.
Stacktrace: at New-BcContainer, C:\ProgramData\BcContainerHelper\6.1.6\BcContainerHelper\ContainerHandling\New-NavContainer.ps1: line 459
at , C:\ProgramData\BcContainerHelper\6.1.6\BcContainerHelper\AppHandling\Run-AlPipeat , C:\ProgramData\BcContainerHelper\6.1.6\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 635
at GetBuildContainer, C:\ProgramData\BcContainerHelper\6.1.6\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 568
at , C:\ProgramData\BcContainerHelper\6.1.6\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 2091
at , C:\ProgramData\BcContainerHelper\6.1.6\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1735
at , C:\ProgramData\BcContainerHelper\6.1.6\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1730
at , C:\ProgramData\BcContainerHelper\6.1.6\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1281
at Run-AlPipeline, C:\ProgramData\BcContainerHelper\6.1.6\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1266
at CreateDevEnv, C:\Users\admelehtilae\AppData\Local\Temp\c970d7eb-98bd-4dad-bf6f-ae1e160d6b8a\AL-Go-Helper.ps1: line 2053
at , C:\scripts\AL-Go_Test\MMLCorporate.AL-Go\cloudDevEnv.ps1: line 86
at , : line 1
Beta Was this translation helpful? Give feedback.
All reactions