Skip to content

Container Creation failes #929

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

Closed
jonaswre opened this issue Feb 13, 2024 · 3 comments
Closed

Container Creation failes #929

jonaswre opened this issue Feb 13, 2024 · 3 comments
Labels
Unrelated to AL-Go This issue is unrelated to AL-Go

Comments

@jonaswre
Copy link
Contributor

jonaswre commented Feb 13, 2024

Hi, I realised today I cannot recreate local dev containers anymore.

It might be an issue with docker desktop v4.27.2

Error: No such object: failed to get console mode for stdout: The handle is invalid.
Run-AlPipeline Telemetry Correlation Id: 7881398b-4d32-4f8d-98ad-3676778da0d2
Error: Invalid JSON primitive: failed.
Stacktrace: at Test-BcContainer, C:\ProgramData\BcContainerHelper\6.0.6-preview1131\BcContainerHelper\ContainerInfo\Test-NavContainer.ps1: line 34
at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.6-preview1131\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 989
at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.6-preview1131\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 966
at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.6-preview1131\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 948
at Run-AlPipeline, C:\ProgramData\BcContainerHelper\6.0.6-preview1131\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 910
at CreateDevEnv, C:\Users\JonasWrede\AppData\Local\Temp\tmp785E.tmp.ps1: line 1894
at <ScriptBlock>, C:\Users\JonasWrede\Projects\byndit\App\.AL-Go\localDevEnv.ps1: line 128
at <ScriptBlock>, <No file>: line 1

I think the issue is that docker inspect can't find a container

$inspect = docker inspect $id | ConvertFrom-Json

Has anybody encountered it?

@jonaswre
Copy link
Contributor Author

I reverted to 4.25.2 that solved it.

@freddydk
Copy link
Contributor

Yeah, this was reported here microsoft/navcontainerhelper#3326 as well.
Nothing really we can do about that until docker releases 4.28.0
Personally, I use docker engine only, which doesn't have this problem.

@freddydk freddydk added the Unrelated to AL-Go This issue is unrelated to AL-Go label Feb 14, 2024
@jonaswre
Copy link
Contributor Author

Thanks for the tip. Feel free to close the ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Unrelated to AL-Go This issue is unrelated to AL-Go
Projects
None yet
Development

No branches or pull requests

2 participants