added test go implementation
continuous-integration/drone/push Build encountered an error

This commit is contained in:
gyurix
2026-06-08 17:02:13 +02:00
parent a555cce680
commit fcda599ec7
9 changed files with 1112 additions and 44 deletions
-20
View File
@@ -88,26 +88,6 @@ Without these, the program cannot:
- Insert PREROUTING/POSTROUTING rules inside other containers
- Add routes to container network namespaces
### Minimal Docker Compose Example
```yaml
version: "3.8"
services:
network-go:
build: ./network-go
network_mode: host
pid: "host"
cap_add:
- NET_ADMIN
- SYS_ADMIN
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/user/config:/etc/user/config
environment:
- WATCH_PERIOD_SECONDS=30
- DEBUG=false
```
## Configuration — `/etc/user/config/networks.json`
```json