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
Throw the new DockerUnavailableException when Docker is not available
(because it is either not running or misconfigured)
The `ArgumentException` was not the appropriate exception to throw since the root of the problem is not a bad argument but the state of the system which is wrong.
conststringcontainerRuntimeNotFound="Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured. You can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. For more information, visit:\nhttps://dotnet.testcontainers.org/custom_configuration/";
?"Docker is either not running or misconfigured. Please ensure that Docker is running and that the endpoint is properly configured."
148
+
:$"Docker is either not running or misconfigured. Please ensure that Docker is available at {string.Join(" or ",TestcontainersSettings.UnavailableEndpoints)}";
149
+
150
+
thrownewDockerUnavailableException(message+"\nYou can customize your configuration using either the environment variables or the ~/.testcontainers.properties file. "+
151
+
"For more information, visit:\nhttps://dotnet.testcontainers.org/custom_configuration/");
152
+
}
147
153
148
154
conststringreuseNotSupported="Reuse cannot be used in conjunction with WithCleanUp(true).";
0 commit comments