Skip to content

Commit 5810da8

Browse files
authored
Update resource reaper version (#933)
1 parent 2af2d69 commit 5810da8

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

docs/configuration.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ Configuration of the Docker daemon:
3232

3333
Configuration of Testcontainers and its behaviours:
3434

35-
| Variable | Example | Description |
36-
| ------------------------------------- | ------------------------- | ---------------------------------------- |
37-
| TESTCONTAINERS_HOST_OVERRIDE | tcp://docker:2375 | Docker's host on which ports are exposed |
38-
| TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE | /var/run/docker.sock | Path to Docker's socket used by ryuk |
39-
| TESTCONTAINERS_RYUK_PRIVILEGED | true | Run ryuk as a privileged container |
40-
| TESTCONTAINERS_RYUK_DISABLED | true | Disable ryuk |
41-
| TESTCONTAINERS_RYUK_PORT | 65515 | Set ryuk host port (not recommended) |
42-
| TESTCONTAINERS_SSHD_PORT | 65515 | Set SSHd host port (not recommended) |
43-
| TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX | mycompany.com/registry | Set default image registry |
44-
| RYUK_CONTAINER_IMAGE | testcontainers/ryuk:0.5.1 | Custom image for ryuk |
45-
| SSHD_CONTAINER_IMAGE | testcontainers/sshd:1.1.0 | Custom image for SSHd |
46-
| TESTCONTAINERS_REUSE_ENABLE | true | Enable reusable containers |
35+
| Variable | Example | Description |
36+
| ------------------------------------- | -------------------------- | ---------------------------------------- |
37+
| TESTCONTAINERS_HOST_OVERRIDE | tcp://docker:2375 | Docker's host on which ports are exposed |
38+
| TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE | /var/run/docker.sock | Path to Docker's socket used by ryuk |
39+
| TESTCONTAINERS_RYUK_PRIVILEGED | true | Run ryuk as a privileged container |
40+
| TESTCONTAINERS_RYUK_DISABLED | true | Disable ryuk |
41+
| TESTCONTAINERS_RYUK_PORT | 65515 | Set ryuk host port (not recommended) |
42+
| TESTCONTAINERS_SSHD_PORT | 65515 | Set SSHd host port (not recommended) |
43+
| TESTCONTAINERS_HUB_IMAGE_NAME_PREFIX | mycompany.com/registry | Set default image registry |
44+
| RYUK_CONTAINER_IMAGE | testcontainers/ryuk:0.11.0 | Custom image for ryuk |
45+
| SSHD_CONTAINER_IMAGE | testcontainers/sshd:1.1.0 | Custom image for SSHd |
46+
| TESTCONTAINERS_REUSE_ENABLE | true | Enable reusable containers |

packages/testcontainers/src/reaper/reaper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { Wait } from "../wait-strategies/wait";
88

99
export const REAPER_IMAGE = process.env["RYUK_CONTAINER_IMAGE"]
1010
? ImageName.fromString(process.env["RYUK_CONTAINER_IMAGE"]).string
11-
: ImageName.fromString("testcontainers/ryuk:0.5.1").string;
11+
: ImageName.fromString("testcontainers/ryuk:0.11.0").string;
1212

1313
export interface Reaper {
1414
sessionId: string;
@@ -75,7 +75,7 @@ async function createNewReaper(sessionId: string, remoteSocketPath: string): Pro
7575
)
7676
.withBindMounts([{ source: remoteSocketPath, target: "/var/run/docker.sock" }])
7777
.withLabels({ [LABEL_TESTCONTAINERS_SESSION_ID]: sessionId })
78-
.withWaitStrategy(Wait.forLogMessage(/.+ Started!/));
78+
.withWaitStrategy(Wait.forLogMessage(/.*Started.*/));
7979

8080
if (process.env.TESTCONTAINERS_RYUK_PRIVILEGED === "true") {
8181
container.withPrivilegedMode();

0 commit comments

Comments
 (0)