Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant