public TestcontainersBuilder() : this( Apply( outputConsumer : Consume.DoNotConsumeStdoutAndStderr(), waitStrategies : Wait.ForUnixContainer().Build()), testcontainer => { }) { }
public TestcontainersBuilder() : this( Apply( authConfig : new AuthenticationConfiguration(), outputConsumer : Consume.DoNotConsumeStdoutAndStderr(), waitStrategies : Wait.ForUnixContainer().Build()), testcontainer => { }) { }
/// <summary> /// Initializes a new instance of the <see cref="HostedServiceConfiguration" /> class. /// </summary> /// <param name="image">The Docker image.</param> /// <param name="defaultPort">The container port.</param> /// <param name="port">The host port.</param> protected HostedServiceConfiguration(string image, int defaultPort, int port = 0) { this.Image = image; this.DefaultPort = defaultPort; this.Port = port; this.Environments = new Dictionary <string, string>(); this.OutputConsumer = Consume.DoNotConsumeStdoutAndStderr(); this.WaitStrategy = Wait.ForUnixContainer(); }