Skip to content

Commit 934a222

Browse files
committed
update cap net admin comment
1 parent 780483b commit 934a222

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agent/agentcontainers/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1034,7 +1034,7 @@ func (api *API) injectSubAgentIntoContainerLocked(ctx context.Context, dc coders
10341034
}
10351035

10361036
// Attempt to add CAP_NET_ADMIN to the binary to improve network
1037-
// performance (optional, allow to fail).
1037+
// performance (optional, allow to fail). See `bootstrap_linux.sh`.
10381038
if _, err := api.ccli.ExecAs(ctx, container.ID, "root", "setcap", "cap_net_admin+ep", coderPathInsideContainer); err != nil {
10391039
logger.Warn(ctx, "set CAP_NET_ADMIN on agent binary failed", slog.Error(err))
10401040
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy