Closed ariam-vestas closed 1 month ago
Hi 👋 this issue has already been addressed. Please see: https://github.com/testcontainers/testcontainers-dotnet/pull/1265.
Hi 👋 this issue has already been addressed. Please see: #1265.
Any idea when a new release with this fix will be released?
No ETA. You can simply pin and override the image as mentioned in the PR as a workaround (which we recommend doing anyway).
Testcontainers version
3.10.0
Using the latest Testcontainers version?
Yes
Host OS
Linux
Host arch
x86
.NET version
.Net 8.0
Docker version
Docker info
What happened?
MsSqlContainer has started failing when running on Ubuntu LTS version (Image: ubuntu-22.04, Version: 20240922.1.0) Before, I was running without any issues.
Relevant log output
Additional information
It fails when I call the
MsSqlBuilder StartAsync()
method. I have seen some closed issues with the same problem. It seems to be a regression in the VM image for gitHub hosted runners. I actually saw some workarounds that could be implemented by our own hand, such as specifically getting the image after startingMsSqlBuilder
likeWithImage("mcr.microsoft.com/mssql/server:2022-CU14-ubuntu-22.04")
.or change the runner on the github pipeline to use an older Ubuntu version.
On my pipelines I usually use
runs-on: ubuntu-latest
and I don't see any advantage in changing the pipeline or the code just to fix a problem that is not mine. Would you please, revisit again this issue and try deploying a new nuget version with a bug fix? If the issue persists, we will be forced to try find another approach like use other nuget.