Skip to content

Commit 86f672a

Browse files
Reaper must be run with privileged mode
1 parent 82d4e5a commit 86f672a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reaper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { StartedTestContainer } from "./test-container";
55
import { Wait } from "./wait";
66
import { Id } from "./container";
77
import { DockerClient } from "./docker-client";
8-
import { Duration, TemporalUnit } from "node-duration";
98

109
export class Reaper {
1110
public static IMAGE_NAME = "testcontainers/ryuk";
@@ -35,6 +34,7 @@ export class Reaper {
3534
.withBindMount(dockerClient.getSocketPath(), "/var/run/docker.sock")
3635
.withWaitStrategy(Wait.forLogMessage("Starting on port 8080"))
3736
.withDaemonMode()
37+
.withPrivilegedMode()
3838
.start();
3939

4040
const host = container.getContainerIpAddress();

0 commit comments

Comments
 (0)