Replies: 2 comments 1 reply
-
At a quick glance, the only location I see go func() {
select {
case <-ctx.Done():
// Context timeout or cancellation.
resultC <- StateStatus{
exitCode: -1,
err: ctx.Err(),
}
return
case status := <-waitC:
resultC <- status
}
}() |
Beta Was this translation helpful? Give feedback.
-
I'm also working on the .NET Aspire orchestrator and a few times now I've noticed random errors related to |
Beta Was this translation helpful? Give feedback.
-
I am working on .NET Aspire local application orchestrator; we use Docker CLI to orchestrate containers that support the local application run. Recently our users reported issues that we tracked down to
docker container inspect
command failing sometimes with no output and exit code -1 (Windows 11 fully patched, Docker Desktop latest version i.e. 4.33.1, running in WSL mode).The typical use case during application startup is that the orchestrator creates and starts a bunch of containers, in fairly rapid succession, and then inspect each one 2-3 times, also fairly quickly (say within a few seconds from the launch). The exact command issued is
The problem occurs during second or third invocation (never first--that always succeeds). The invocation ends very quickly (couple milliseconds time), as if the CLI did not even attempt to call the daemon, and the exit code is -1 (captured via https://pkg.go.dev/os#ProcessState.ExitCode ).
Any ideas why this might be occurring? E.g. does the CLI employ any sort of client-side throttling?
@savannahostrowski @laurazard @hades200082 @Alirexaa FYI
P.S. I was never able to reproduce the problem myself, but some .NET Aspire community members (@hades200082 @Alirexaa ) have encountered this repeatedly.
The related .NET Aspire issue: dotnet/aspire#5109
Beta Was this translation helpful? Give feedback.
All reactions