Skip to content

Commit ddc5780

Browse files
committed
switch to dind socket
1 parent 46b8df5 commit ddc5780

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
ports:
1515
- 2375:2375
1616
volumes:
17-
- /var/run/docker.sock:/var/run/docker.sock
17+
- /var/run/docker-dind.sock:/var/run/docker.sock
1818
options: >-
1919
--privileged
2020
--tmpfs /var/lib/docker

test/Docker.DotNet.Tests/TestFixture.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public TestFixture(IMessageSink messageSink)
2323
_messageSink = messageSink;
2424
DockerClients = new Dictionary<DockerClientType, DockerClient>
2525
{
26-
{ DockerClientType.ManagedPipe, new DockerClientConfiguration().CreateClient(logger: this) },
26+
{ DockerClientType.ManagedPipe, new DockerClientConfiguration(endpoint: new Uri("unix:/var/run/docker-dind.sock")).CreateClient(logger: this) },
2727
{ DockerClientType.ManagedHttp, new DockerClientConfiguration(endpoint: new Uri("http://localhost:2375")).CreateClient(logger: this) },
2828
{ DockerClientType.NativeHttp, new DockerClientConfiguration(endpoint: new Uri("http://localhost:2375"), nativeHttpHandler: true).CreateClient(logger: this) }
2929
};

0 commit comments

Comments
 (0)