Skip to content

Commit 476780d

Browse files
committed
chore: Keep WithCleanUp(true) its implicitly set
1 parent 59546a1 commit 476780d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Testcontainers/Builders/ContainerBuilder.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,15 @@ namespace DotNet.Testcontainers.Builders
1111
/// A fluent Docker container builder.
1212
/// </summary>
1313
/// <remarks>
14-
/// The container builder configuration requires image tag to be provided. Either invoke the constructor with image tag as a parameter (recommended) or call the <see cref="ContainerBuilder{TBuilderEntity, TContainerEntity, TConfigurationEntity}.WithImage(string)" /> method after creating instance of <see cref="ContainerBuilder" />.
14+
/// The container builder requires a container image, which must be provided through the constructor.
1515
/// </remarks>
1616
/// <example>
1717
/// The default configuration is equivalent to:
1818
/// <code>
1919
/// _ = new ContainerBuilder()
2020
/// .WithDockerEndpoint(TestcontainersSettings.OS.DockerEndpointAuthConfig)
2121
/// .WithLabel(DefaultLabels.Instance)
22+
/// .WithCleanUp(true)
2223
/// .WithLogger(ConsoleLogger.Instance)
2324
/// .WithImagePullPolicy(PullPolicy.Missing)
2425
/// .WithPortForwarding()

0 commit comments

Comments
 (0)