diff --git a/Dockerfile.client b/Dockerfile.client index ee3ac2c..eb9a78f 100644 --- a/Dockerfile.client +++ b/Dockerfile.client @@ -25,7 +25,10 @@ RUN make # iodine require /dev/net/tun from the host. # 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" ] CMD [ "-h" ] diff --git a/Dockerfile.server b/Dockerfile.server index 5f0b313..a1d1d72 100644 --- a/Dockerfile.server +++ b/Dockerfile.server @@ -25,7 +25,10 @@ RUN make # iodine require /dev/net/tun from the host. # 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" ] CMD [ "-h" ]