You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System.ArgumentException
Cannot parse image: confluentinc/cp-zookeeper:7.6.1@sha256:4dc780642bfc5ec3a2d4901e2ff1f9ddef7f7c5c0b793e1e2911cbfb4e3a3214 (Parameter 'image')
at DotNet.Testcontainers.Images.MatchImage.Match(String image) in /_/src/Testcontainers/Images/MatchImage.cs:line 34
at DotNet.Testcontainers.Images.DockerImage..ctor(String image) in /_/src/Testcontainers/Images/DockerImage.cs:line 41
at DotNet.Testcontainers.Builders.ContainerBuilder`3.WithImage(String image) in /_/src/Testcontainers/Builders/ContainerBuilder`3.cs:line 67
at IntegrationTests.KafkaFixture.LaunchZookeeper(INetwork containerNetwork) in C:\GitHub\opentelemetry-dotnet-instrumentation\test\IntegrationTests\KafkaCollection.cs:line 63
at IntegrationTests.KafkaFixture.InitializeAsync() in C:\GitHub\opentelemetry-dotnet-instrumentation\test\IntegrationTests\KafkaCollection.cs:line 39
at Xunit.Sdk.ExceptionAggregator.RunAsync(Func`1 code) in /_/src/xunit.core/Sdk/ExceptionAggregator.cs:line 90
Problem
OpenTelemetry recommend to reference all docker images by the name, tag, followed by the digest.
Part of implementing this recommendation is open-telemetry/opentelemetry-dotnet-instrumentation#3514
Passing full name to the Container API leads to
Solution
Support for following code:
Benefit
Possibility to define docker image together with its digest.
Alternatives
N/A
Would you like to help contributing this enhancement?
Maybe, depends on the level of complexity. Any guidance of your expectations is more than welcomed.
The text was updated successfully, but these errors were encountered: