3 ms·
sudo dockerd -H tcp://0.0.0.0:8080 will happily start Docker with it listening on my IP address without TLS. It will print an all-caps warning, but nothing els
by cyphar 8y ago
sudo dockerd -H tcp://0.0.0.0:8080
will happily start Docker with it listening on my IP address without TLS. It will print an all-caps warning, but nothing else (you don't even need to pass a --give-the-internet-root-access flag). However, I just submitted a PR which adds the --give-the-internet-root-access flag[1] because it's pretty obvious to me that very few users do this intentionally (and with full knowledge of the consequences).
[1]: https://github.com/moby/moby/pull/37299 https://github.com/moby/moby/pull/37299