1 instantiation of Docker
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
Docker.cs (1)
40
var docker = new
Docker
(location);
12 references to Docker
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (12)
Docker.cs (5)
21
private static readonly Lazy<
Docker
> _instance = new Lazy<
Docker
>(Create);
23
public static
Docker
Default => _instance.Value;
32
private static
Docker
Create()
40
var
docker = new Docker(location);
RedisServerFixture.cs (5)
27
if (
Docker
.Default == null)
36
Docker
.Default.Start(_logger);
41
if (
Docker
.Default != null)
45
Docker
.Default.Stop(_logger);
52
if (
Docker
.Default == null)
SkipIfDockerNotPresentAttribute.cs (2)
17
if (
Docker
.Default != null)
20
if (
Docker
.Default.RunCommand("ps", "docker ps", out var output) != 0)