mirror of
https://github.com/yarrick/iodine.git
synced 2025-07-27 19:12:50 +02:00
fix: fixed in-file usage
This commit is contained in:
parent
8d94c7ba74
commit
b6b5f29416
2 changed files with 8 additions and 2 deletions
|
@ -25,7 +25,10 @@ RUN make
|
||||||
# iodine require /dev/net/tun from the host.
|
# iodine require /dev/net/tun from the host.
|
||||||
# run the container with --device /dev/net/tun --cap-add=NET_ADMIN to allow it
|
# run the container with --device /dev/net/tun --cap-add=NET_ADMIN to allow it
|
||||||
|
|
||||||
# usage: [sudo] docker run -it --rm iodine -f -r 192.168.0.1 -P "password" test.com
|
# usage: [sudo] docker run -it --rm \
|
||||||
|
# --device /dev/net/tun \
|
||||||
|
# --cap-add=NET_ADMIN \
|
||||||
|
# iodine -f -r 192.168.0.1 -P "password" test.com
|
||||||
|
|
||||||
ENTRYPOINT [ "/app/bin/iodine" ]
|
ENTRYPOINT [ "/app/bin/iodine" ]
|
||||||
CMD [ "-h" ]
|
CMD [ "-h" ]
|
||||||
|
|
|
@ -25,7 +25,10 @@ RUN make
|
||||||
# iodine require /dev/net/tun from the host.
|
# iodine require /dev/net/tun from the host.
|
||||||
# run the container with --device /dev/net/tun --cap-add=NET_ADMIN to allow it
|
# run the container with --device /dev/net/tun --cap-add=NET_ADMIN to allow it
|
||||||
|
|
||||||
# usage: [sudo] docker run -it --rm iodined -f 10.0.0.1 -P "password" test.com
|
# usage: [sudo] docker run -it --rm \
|
||||||
|
# --device /dev/net/tun \
|
||||||
|
# --cap-add=NET_ADMIN \
|
||||||
|
# iodined -f 10.0.0.1 -P "password" test.com
|
||||||
|
|
||||||
ENTRYPOINT [ "/app/bin/iodined" ]
|
ENTRYPOINT [ "/app/bin/iodined" ]
|
||||||
CMD [ "-h" ]
|
CMD [ "-h" ]
|
||||||
|
|
Loading…
Add table
Reference in a new issue