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.
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.