fix: Add Linux support for Docker volume permissions

This commit is contained in:
Khaushik-keygraph
2025-12-20 23:02:24 +05:30
parent fc8b122cca
commit b54d0fcc9b
2 changed files with 17 additions and 5 deletions

View File

@@ -192,6 +192,12 @@ docker run --rm -it \
--config /app/configs/example-config.yaml
```
#### Platform-Specific Instructions
**For Linux (Native Docker):**
Add the `--user $(id -u):$(id -g)` flag to the Docker commands above to avoid permission issues with volume mounts. Docker Desktop on macOS and Windows handles this automatically, but native Linux Docker requires explicit user mapping.
**Network Capabilities:**
- `--cap-add=NET_RAW` - Enables advanced port scanning with nmap