Hacker News new | ask | show | jobs
by easyas124 844 days ago
Why would you use Docker at all? Just run the application behind a reverse proxy. Docker doesn't get you anything except an extra management headache and an abstraction that happily punches holes in your firewall.
5 comments

App A requires a version 2 of whatever which conflicts with version 3 of whatever required by app B, and uses same port as app C and doesn’t like the smell of app D. Meanwhile app Z has to be compiled from source with a specific version of python and only installs on Tuesdays, buts it’s Wednesday if mercury is retrograde
It may help to view it primarily as a packaging system.
I mean...the entire reason docker exists? So that I don't have to understand and manage everyone else's (sometimes insane) build and deploy processes?
Easier to upgrade, no extra system deps to mess up, security because you're shelled into a private environment, isolated storage, network routing.
Because "installing" an "app" becomes as easy as

    docker run coolapp:latest