mirror of
https://github.com/zyclonite/zerotier-docker.git
synced 2025-06-20 17:47:41 +02:00
add net_raw cap for bridge mode, seems to be not a default for podman on fedora
This commit is contained in:
parent
8579c1fde0
commit
c3ceacd36a
@ -36,7 +36,7 @@ or create an empty file with the network as name
|
|||||||
It is the implementation of the local network bridge [paper](https://zerotier.atlassian.net/wiki/spaces/SD/pages/193134593/Bridge+your+ZeroTier+and+local+network+with+a+RaspberryPi)
|
It is the implementation of the local network bridge [paper](https://zerotier.atlassian.net/wiki/spaces/SD/pages/193134593/Bridge+your+ZeroTier+and+local+network+with+a+RaspberryPi)
|
||||||
|
|
||||||
docker run --name zerotier-one --device=/dev/net/tun \
|
docker run --name zerotier-one --device=/dev/net/tun \
|
||||||
--cap-add=NET_ADMIN --cap-add=SYS_ADMIN \
|
--cap-add=NET_ADMIN --cap-add=NET_RAW --cap-add=SYS_ADMIN \
|
||||||
-v /var/lib/zerotier-one:/var/lib/zerotier-one zyclonite/zerotier:bridge
|
-v /var/lib/zerotier-one:/var/lib/zerotier-one zyclonite/zerotier:bridge
|
||||||
|
|
||||||
That will start the zero-one, establish connection and build the bridge once the `zt` interface is up.
|
That will start the zero-one, establish connection and build the bridge once the `zt` interface is up.
|
||||||
|
@ -45,6 +45,7 @@ spec:
|
|||||||
capabilities:
|
capabilities:
|
||||||
add:
|
add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
|
- NET_RAW
|
||||||
- SYS_ADMIN
|
- SYS_ADMIN
|
||||||
|
|
||||||
dnsPolicy: "None"
|
dnsPolicy: "None"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user