Skip to content

Conversation

hfhbd
Copy link
Contributor

@hfhbd hfhbd commented Oct 23, 2024

Currently, the DB2 container uses the privilegedMode, as mentioned in the official IBM docs. But this mode should be avoided. DB2 needs the privilegedMode due larger shared memory segments. But this behavior can be archived by setting the capabilities IPC_LOCK and IPC_OWNER.

Source: https://db2indocker.blogspot.com

@hfhbd hfhbd requested a review from a team October 23, 2024 22:26
@eddumelendez eddumelendez added this to the next milestone Oct 31, 2024
@eddumelendez eddumelendez changed the title DB2: Remove privilegedMode Remove privilegedMode in Db2Container Oct 31, 2024
@eddumelendez eddumelendez merged commit 803b258 into testcontainers:main Oct 31, 2024
105 checks passed
@eddumelendez
Copy link
Member

Thanks for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants