10 ms·
Docker and especially docker compose finally made it easy for me to start hosting many service on my local synology. I want to write some yaml, run command and
by para_parolu 4y ago
Docker and especially docker compose finally made it easy for me to start hosting many service on my local synology. I want to write some yaml, run command and get result.
The last thing I want is to fight different versions of python, js or OS differences.
- gjs278 4y ago
- smoldesu 4y agoIf your OS fails to package nginx properly, it's probably time to find a new package manager/OS. On a more serious note though, both technologies have their uses. Docker can be nice for ad-hoc hardware provisioning without needing to think about much, but I think the GP's comment is still relevant. For a lot of users who are completely unfamiliar with bash/Linux, Docker will be impossible to grok. For the average HN engineer sitting at their Mac, it makes a lot more sense to get nginx/apache from Brew and tinker with it natively.
- monkmartinez 4y agoWhy bother with nginx at all tho? Why take the chance of borking your ENTIRE system with software you aren't intimately familiar with? Dockerize that shit and move on. If you want to get into the weeds with some bare metal installs, have at it. There just isn't enough time for me to learn every sub-system in the entire software stack to be productive. I say, pick your poison and get after it!
- smoldesu 4y agoFor one, because Docker is a horrible experience for anyone that isn't running Linux. Bare metal installs are much better for tinkering and "getting started" than Docker is.
- horsawlarway 4y agoYou clearly don't understand what the poster is saying. I'm not fucking interested in "tinkering" with nginx/apache to host my own software, I'm interested in herding dozens of open source applications that replace paid/shitty ad driven SaaS companies. The contract with docker is incredibly simple - you give me the path you're saving data to, a couple of ports to point at, and some ENV vars to provide config - I do the rest. Boom - suddenly I can easily host literally hundreds of dollars per month worth of recurring subscription SaaS products using my own hardware and networks. All without having to see ads, or risk external data breaches, or deal with user tracking.
- smoldesu 4y agoYou clearly don't understand what I'm saying. I like Docker, and use it every day. However, it's not the tool you use to learn how self-hosting works (or how your containerized software functions). Running the Dockerized version of a program turns it into a pushbutton component, which is both convenient and abstracts over anything interesting or worth learning. Docker is a compositional layer that only works effectively when you understand what it's doing inside the container.
- horsawlarway 4y ago> Running the Dockerized version of a program turns it into a pushbutton component Which is the point, when the goal is to self-host someone else's application. If you're just interested in learning how networks work, or what http is, or how to write software - then sure, go tinker with apache or nginx. If you're trying to self host, containers are great. They do exactly what you've said - applications become (mostly) pushbutton components where the contract is simple and clear (data/ports/env). And yes - there certainly is a bit of a learning curve for containers, but I'd much rather learn containers once than have to learn the ins & outs of the 25 apps I self host. For the most part, I neither want nor care to learn how they were put together. There simply isn't enough time, and the value is low. Again - the goal here is NOT to host a blog/website I've made. It's to self-host applications other folks have put together, and that seems to be where this reference can be valuable.