Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove privilegedMode in Db2Container #9460

Merged
merged 1 commit into from
Oct 31, 2024
Merged

Remove privilegedMode in Db2Container #9460

merged 1 commit into from
Oct 31, 2024

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 as a code owner 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