This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user