Remove CAP_NET_RAW requirement from documentation
Since we now use command-line ping (setuid root) instead of surge-ping library, the agent no longer requires CAP_NET_RAW capability. Reverted documentation changes from previous commit that added the capability requirement.
This commit is contained in:
parent
91c407ed5b
commit
9db47e22d1
2 changed files with 0 additions and 18 deletions
14
README.md
14
README.md
|
|
@ -38,9 +38,6 @@ services:
|
|||
towerops-agent:
|
||||
image: ghcr.io/towerops-app/towerops-agent:latest
|
||||
restart: unless-stopped
|
||||
# Required for ICMP ping health checks
|
||||
cap_add:
|
||||
- NET_RAW
|
||||
environment:
|
||||
- TOWEROPS_API_URL=https://towerops.net
|
||||
- TOWEROPS_AGENT_TOKEN=your-agent-token-here
|
||||
|
|
@ -125,17 +122,6 @@ docker build -t towerops-agent .
|
|||
|
||||
## Troubleshooting
|
||||
|
||||
### Agent Crashes with Segmentation Fault (Exit Code 139)
|
||||
|
||||
This typically occurs when the container doesn't have the `NET_RAW` capability required for ICMP ping:
|
||||
|
||||
```yaml
|
||||
cap_add:
|
||||
- NET_RAW
|
||||
```
|
||||
|
||||
Add this to your `docker-compose.yml` under the agent service. Without this capability, the agent will crash when attempting health checks.
|
||||
|
||||
### Agent Not Connecting
|
||||
|
||||
- Verify the API URL is correct (accepts http://, https://, ws://, or wss://)
|
||||
|
|
|
|||
|
|
@ -4,10 +4,6 @@ services:
|
|||
container_name: towerops-agent
|
||||
restart: unless-stopped
|
||||
|
||||
# Required for ICMP ping health checks
|
||||
cap_add:
|
||||
- NET_RAW
|
||||
|
||||
environment:
|
||||
# Required: Agent authentication token (from Towerops web UI)
|
||||
# Get this from: Organization > Agents > Create New Agent
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue