Skip to content

Commit

Permalink
[Agent] Set no capabilities for agent (#28503)
Browse files Browse the repository at this point in the history
Using capabilities breaks docker when run with --cap-drop which sometimes happens. We should find a way to fail gracefully instead.
  • Loading branch information
andrewvc authored Oct 19, 2021
1 parent 0971fe7 commit 6e9cc41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev-tools/packaging/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ shared:
dockerfile: 'Dockerfile.elastic-agent.tmpl'
docker_entrypoint: 'docker-entrypoint.elastic-agent.tmpl'
user: '{{ .BeatName }}'
linux_capabilities: 'cap_net_raw+eip'
linux_capabilities: ''
image_name: ''
files:
'elastic-agent.yml':
Expand Down

0 comments on commit 6e9cc41

Please sign in to comment.