ibm-functions / runtime-nodejs

IBM Cloud Functions NodeJS Runtime
Other
15 stars 18 forks source link

Running privileged containers is not possible in all environments. #220

Closed falkzoll closed 3 years ago

falkzoll commented 3 years ago

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.