File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ services:
220220 cap_drop :
221221 - ALL
222222 cap_add :
223- - DAC_READ_SEARCH
223+ - DAC_READ_SEARCH # required for reading log files in target container
224224 security_opt :
225225 - no-new-privileges:true
226226 environment :
@@ -245,7 +245,7 @@ services:
245245 cap_drop :
246246 - ALL
247247 cap_add :
248- - DAC_READ_SEARCH
248+ - DAC_READ_SEARCH # required for reading log files in target container
249249 security_opt :
250250 - no-new-privileges:true
251251 environment :
@@ -270,7 +270,7 @@ services:
270270 cap_drop :
271271 - ALL
272272 cap_add :
273- - DAC_READ_SEARCH
273+ - DAC_READ_SEARCH # required for reading log files in target container
274274 security_opt :
275275 - no-new-privileges:true
276276 environment :
@@ -295,8 +295,8 @@ services:
295295 cap_drop :
296296 - ALL
297297 cap_add :
298- - DAC_READ_SEARCH
299- - SYS_PTRACE
298+ - DAC_READ_SEARCH # required for reading log files in target container
299+ - SYS_PTRACE # allows for additional profiling metrics (sampled stacks via py-spy)
300300 security_opt :
301301 - no-new-privileges:true
302302 environment :
Original file line number Diff line number Diff line change @@ -55,8 +55,8 @@ services:
5555 pid : " service:teams-do-gpu"
5656 profiles : ["gpu"]
5757 cap_add :
58- - DAC_READ_SEARCH
59- - SYS_PTRACE
58+ - DAC_READ_SEARCH # required for reading log files in target container
59+ - SYS_PTRACE # allows for additional profiling metrics (sampled stacks via py-spy)
6060 deploy :
6161 resources :
6262 limits :
Original file line number Diff line number Diff line change @@ -90,8 +90,8 @@ services:
9090 cap_drop :
9191 - ALL
9292 cap_add :
93- - DAC_READ_SEARCH
94- - SYS_PTRACE
93+ - DAC_READ_SEARCH # required for reading log files in target container
94+ - SYS_PTRACE # allows for additional profiling metrics (sampled stacks via py-spy)
9595 security_opt :
9696 - no-new-privileges:true
9797 environment :
@@ -154,8 +154,8 @@ services:
154154 cap_drop :
155155 - ALL
156156 cap_add :
157- - DAC_READ_SEARCH
158- - SYS_PTRACE
157+ - DAC_READ_SEARCH # required for reading log files in target container
158+ - SYS_PTRACE # allows for additional profiling metrics (sampled stacks via py-spy)
159159 security_opt :
160160 - no-new-privileges:true
161161 environment :
Original file line number Diff line number Diff line change @@ -55,8 +55,8 @@ services:
5555 pid : " service:teams-do-gpu"
5656 profiles : ["gpu"]
5757 cap_add :
58- - DAC_READ_SEARCH
59- - SYS_PTRACE
58+ - DAC_READ_SEARCH # required for reading log files in target container
59+ - SYS_PTRACE # allows for additional profiling metrics (sampled stacks via py-spy)
6060 deploy :
6161 resources :
6262 limits :
Original file line number Diff line number Diff line change @@ -90,8 +90,8 @@ services:
9090 cap_drop :
9191 - ALL
9292 cap_add :
93- - DAC_READ_SEARCH
94- - SYS_PTRACE
93+ - DAC_READ_SEARCH # required for reading log files in target container
94+ - SYS_PTRACE # allows for additional profiling metrics (sampled stacks via py-spy)
9595 security_opt :
9696 - no-new-privileges:true
9797 environment :
@@ -156,8 +156,8 @@ services:
156156 cap_drop :
157157 - ALL
158158 cap_add :
159- - DAC_READ_SEARCH
160- - SYS_PTRACE
159+ - DAC_READ_SEARCH # required for reading log files in target container
160+ - SYS_PTRACE # allows for additional profiling metrics (sampled stacks via py-spy)
161161 security_opt :
162162 - no-new-privileges:true
163163 environment :
You can’t perform that action at this time.
0 commit comments