> I couldn't care less about knowing the details of how to configure some specific web app with all its quirks.
You might know this, but there could be security issues hidden in those details. One common example people miss is that Docker opens any ports you export on a container on the host as well. It's so common they've added a warning[1].
> Publishing container ports is insecure by default. Meaning, when you publish a container's ports it becomes available not only to the Docker host, but to the outside world as well.
This means that you might set it up behind a proxy with authentication and everything as you should but Docker was helpful and enabled bypassing the authentication by accessing the port directly (on the local network).
I host my apps on a local server that is not open to the internet. The only way they can be accessed is over Cloudflare tunnel or on the local network. So I am a lot less worried about that.
You might know this, but there could be security issues hidden in those details. One common example people miss is that Docker opens any ports you export on a container on the host as well. It's so common they've added a warning[1].
> Publishing container ports is insecure by default. Meaning, when you publish a container's ports it becomes available not only to the Docker host, but to the outside world as well.
This means that you might set it up behind a proxy with authentication and everything as you should but Docker was helpful and enabled bypassing the authentication by accessing the port directly (on the local network).
So you should care.
[1]: https://docs.docker.com/engine/network/port-publishing/
Replies (1)