fix: fixed in-file usage

This commit is contained in:
Tech0ne 2025-06-23 15:16:58 +02:00
parent 8d94c7ba74
commit b6b5f29416
2 changed files with 8 additions and 2 deletions

View file

@ -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" ]

View file

@ -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" ]