i have a unsecured and out of date application running inside a docker container bound on the host device loopback interface that is only accessed by other applications running on that device, am i right in thinking this would provide an adequate level of security so that nothing external to the box would be able to access the application or know that it is even there? my thinking is you would need access to the device before you could ever get access to the application at which point you have bigger problems.
From my interpretation of this post it may be possible to blindly submit requests to it without receiving a response if you were directly connected to the device (or maybe not as loopback device has no mac address) but that is the only possible downside i have found to relying on the loopback interface to secure something and as it's a HTTP application which would run over TCP this post seems to suggest even that is not possible.