Add NET_ADMIN, NET_RAW
This commit is contained in:
parent
7b45306415
commit
a6c8bffd58
1 changed files with 3 additions and 1 deletions
|
|
@ -46,6 +46,7 @@ docker run --name wyl \
|
||||||
-e "IFACES=$YOURIFACE" \
|
-e "IFACES=$YOURIFACE" \
|
||||||
-e "TZ=$YOURTIMEZONE" \
|
-e "TZ=$YOURTIMEZONE" \
|
||||||
--network="host" \
|
--network="host" \
|
||||||
|
--cap-add=NET_ADMIN --cap-add=NET_RAW \
|
||||||
-v $DOCKERDATAPATH/wyl:/data/WatchYourLAN \
|
-v $DOCKERDATAPATH/wyl:/data/WatchYourLAN \
|
||||||
aceberg/watchyourlan:v2
|
aceberg/watchyourlan:v2
|
||||||
```
|
```
|
||||||
|
|
@ -156,6 +157,7 @@ docker run --name wyl \
|
||||||
-e "IFACES=$YOURIFACE" \
|
-e "IFACES=$YOURIFACE" \
|
||||||
-e "TZ=$YOURTIMEZONE" \
|
-e "TZ=$YOURTIMEZONE" \
|
||||||
--network="host" \
|
--network="host" \
|
||||||
|
--cap-add=NET_ADMIN --cap-add=NET_RAW \
|
||||||
-v $DOCKERDATAPATH/wyl:/data/WatchYourLAN \
|
-v $DOCKERDATAPATH/wyl:/data/WatchYourLAN \
|
||||||
aceberg/watchyourlan:v2 -n "http://$YOUR_IP:8850"
|
aceberg/watchyourlan:v2 -n "http://$YOUR_IP:8850"
|
||||||
```
|
```
|
||||||
|
|
@ -180,4 +182,4 @@ Moved to [docs/API.md](./docs/API.md)
|
||||||
- [Bootstrap](https://getbootstrap.com/)
|
- [Bootstrap](https://getbootstrap.com/)
|
||||||
- Themes: [Free themes for Bootstrap](https://bootswatch.com)
|
- Themes: [Free themes for Bootstrap](https://bootswatch.com)
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue