Skip to content

Commit

Permalink
Use npipe to communicate with docker daemon
Browse files Browse the repository at this point in the history
* This makes the ditto build to work with the default setup of docker for desktop
* Windows users are no longer required to activate a potential security risk
  in their docker for desktop setup

Signed-off-by: Yannic Klem <Yannic.Klem@bosch.io>
  • Loading branch information
Yannic92 committed Dec 17, 2021
1 parent 04a63f6 commit 06b51f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ final class MongoContainerFactory {

private static final MongoContainerFactory INSTANCE = new MongoContainerFactory();
private static final String UNIX_DOCKER_HOST = "unix:///var/run/docker.sock";
private static final String WINDOWS_DOCKER_HOST = "tcp://localhost:2375";
private static final String WINDOWS_DOCKER_HOST = "npipe:////./pipe/docker_engine";

private final DockerClient dockerClient;

Expand Down

0 comments on commit 06b51f6

Please sign in to comment.