ContainerReaperOptions Class
Configures the watchdog container started by ContainerRuntime.StartReaperAsync.
public sealed class ContainerReaperOptionsConstructors
| Name | Description |
|---|---|
| ContainerReaperOptions() |
ContainerReaperOptions()
ContainerReaperOptions.cspublic ContainerReaperOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| ConnectionTimeout | Gets or sets how long the watchdog waits for this process to connect before it gives up and removes the resources. Defaults to one minute. |
| Image | Gets or sets the image of the watchdog. Defaults to testcontainers/ryuk, whose protocol this implementation speaks. |
| ReconnectionTimeout | Gets or sets how long the watchdog waits, after this process is gone, before it removes the resources. Defaults to ten seconds. |
| SocketPath | Gets or sets the path of the daemon socket, as the daemon sees it, which is mounted into the watchdog so it can remove the resources. Defaults to the socket the runtime reports: the one it connects to on Linux (rootless daemons included), the socket of the podman service, and /var/run/docker.sock inside the virtual machine of Docker Desktop, Colima or similar on macOS and Windows. |
ConnectionTimeout
ContainerReaperOptions.csGets or sets the image of the watchdog. Defaults to testcontainers/ryuk, whose protocol this implementation speaks.
public ImageSource Image { get; set; }Property value
ReconnectionTimeout
ContainerReaperOptions.csSocketPath
ContainerReaperOptions.csGets or sets the path of the daemon socket, as the daemon sees it, which is mounted into the watchdog so it can remove the resources. Defaults to the socket the runtime reports: the one it connects to on Linux (rootless daemons included), the socket of the podman service, and /var/run/docker.sock inside the virtual machine of Docker Desktop, Colima or similar on macOS and Windows.
public string? SocketPath { get; set; }