Skip to content

Commit

Permalink
Enable Ryuk as a privileged container by default (#7319)
Browse files Browse the repository at this point in the history
  • Loading branch information
eddumelendez authored Jul 20, 2023
1 parent da39e21 commit cc60cd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public String getTinyImage() {
}

public boolean isRyukPrivileged() {
return Boolean.parseBoolean(getEnvVarOrProperty("ryuk.container.privileged", "false"));
return Boolean.parseBoolean(getEnvVarOrProperty("ryuk.container.privileged", "true"));
}

@Deprecated
Expand Down
2 changes: 1 addition & 1 deletion docs/features/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Some companies disallow the usage of Docker Hub, but you can override `*.image`
> **ryuk.container.image = testcontainers/ryuk:0.3.3**
> The resource reaper is responsible for container removal and automatic cleanup of dead containers at JVM shutdown
> **ryuk.container.privileged = false**
> **ryuk.container.privileged = true**
> In some environments ryuk must be started in privileged mode to work properly (--privileged flag)
### Disabling Ryuk
Expand Down

0 comments on commit cc60cd2

Please sign in to comment.