DockerShimSettings class

Settings used to control DockerShim behavior.

public sealed class DockerShimSettings

Public Members

name description
DockerShimSettings(…) Creates a new instance of the settings class with default settings applied.
ExitTimeout { get; set; } The amount of time application code has after it is requested to exit, before the process forcibly exits. Defaults to 10 seconds.
LoggerFactory { get; set; } The core logging factory used by all structured logging. Defaults to a logging factory with a single provider that writes formatted text to the console.
MaximumRuntime { get; set; } The maximum amount of time the application will run until it is requested to exit. Defaults to infinite, but most apps should use a non-infinite time.
RandomMaximumRuntimeRelativeDelta { get; set; } The amount of random fluction in MaximumRuntime. E.g., 0.10 is a 10% change; if MaximumRuntime is 30 minutes, then the actual maximum runtime would be a random value between 27 and 33 minutes. Defaults to 0.10 (10%).
StdoutParser { get; set; } A method that parses text written to stdout and logs it. Defaults to writing an info message for each message written to stdout.

See Also