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

Run ibmcom/db2 container non privileged. #127

Merged
merged 1 commit into from
Dec 21, 2020

Conversation

falkzoll
Copy link
Contributor

  • Running privileged containers is not possible in all environments.
    With actual docker installations it is now possible to get the required permissions for the ibmcom/db2
    containers also via '--cap-add' statements (db2 requires larger shared memory than the default allows).
    Adding '--cap-add IPC_LOCK' and '--cap-add IPC_OWNER' allows to remove the '--privileged=true' and still run ibmcom/db2 successfully.

- Running privileged containers is not possible in all environments.
  With actual docker installations it is now possible to get the required permissions for the ibmcom/db2
  containers also via '--cap-add' statements (db2 requires larger shared memory than the default allows).
  Adding '--cap-add IPC_LOCK'  and '--cap-add IPC_OWNER' allows to remove the '--privileged=true' and still run ibmcom/db2 successfully.
@falkzoll falkzoll merged commit 03bca6b into ibm-functions:master Dec 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant