This repository was archived by the owner on Jan 17, 2025. It is now read-only.
Commit 03bca6b
authored
Run ibmcom/db2 container non privileged. (#127)
- 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.1 parent 4de5179 commit 03bca6b
File tree
1 file changed
+4
-1
lines changed- tests/src/test/scala/actionContainers
1 file changed
+4
-1
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
108 | 112 | | |
109 | 113 | | |
110 | 114 | | |
| |||
113 | 117 | | |
114 | 118 | | |
115 | 119 | | |
116 | | - | |
117 | 120 | | |
118 | 121 | | |
119 | 122 | | |
| |||
0 commit comments