14 writes to IsRunning
Aspire.Hosting (5)
src\Shared\ContainerRuntimeProbe.cs (5)
150
IsRunning
= false,
179
IsRunning
= false,
198
IsRunning
= true,
236
IsRunning
= false,
252
IsRunning
= false,
Aspire.Hosting.Tests (9)
Publishing\ContainerRuntimeDetectorTests.cs (9)
26
new ContainerRuntimeInfo { Key = "docker", Executable = "docker", Name = "Docker", IsInstalled = true,
IsRunning
= false, Priority = 0 },
27
new ContainerRuntimeInfo { Key = "podman", Executable = "podman", Name = "Podman", IsInstalled = true,
IsRunning
= true, Priority = 1 }
40
new ContainerRuntimeInfo { Key = "docker", Executable = "docker", Name = "Docker", IsInstalled = false,
IsRunning
= false, Priority = 0 },
41
new ContainerRuntimeInfo { Key = "podman", Executable = "podman", Name = "Podman", IsInstalled = true,
IsRunning
= false, Priority = 1 }
54
new ContainerRuntimeInfo { Key = "docker", Executable = "docker", Name = "Docker", IsInstalled = true,
IsRunning
= true, Priority = 0 },
55
new ContainerRuntimeInfo { Key = "podman", Executable = "podman", Name = "Podman", IsInstalled = true,
IsRunning
= true, Priority = 1 }
76
new ContainerRuntimeInfo { Key = "podman", Executable = "podman", Name = "Podman", IsInstalled = true,
IsRunning
= true, Priority = 1 }
89
new ContainerRuntimeInfo { Key = "docker", Executable = "docker", Name = "Docker", IsInstalled = false,
IsRunning
= false, Priority = 0 },
90
new ContainerRuntimeInfo { Key = "podman", Executable = "podman", Name = "Podman", IsInstalled = false,
IsRunning
= false, Priority = 1 }
5 references to IsRunning
Aspire.Hosting (5)
src\Shared\ContainerRuntimeDetector.cs (4)
85
else if (!best.
IsRunning
&& candidate.
IsRunning
)
91
&& candidate.
IsRunning
== best.
IsRunning
)
src\Shared\ContainerRuntimeProbe.cs (1)
87
public bool IsHealthy => IsInstalled &&
IsRunning
;