Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why are you assuming my age and experience because I use Docker? This doesnt help your argument.

I have been around since long before Docker was a thing, so yes I have been there, serving apps on bare metal and then using unwieldy VMs.

It doesnt matter if its my home lab or some Saas server, how is it simpler to serve 3 PHP apps with different PHP versions on raw linux than simply using docker for example?

This is called progress and thats why its a popular tool. Not because of some “hype” or whatever you are implying.



> It doesnt matter if its my home lab or some Saas server, how is it simpler to serve 3 PHP apps with different PHP versions on raw linux than simply using docker for example?

You got me, I have no idea how to manage PHP. Intuitively I would try to solve that problem with Nix first.

But here if you can't run two PHP versions on the same OS I would say the flaw is at the PHP level or how distributions handle it. So personally in my home I would probably avoid it and be grateful containers solve this problem for me at work.

To end on a more positive note, if you like Docker I would recommend you check FreeBSD Jails too because you probably gonna love it.

I used both but Jails have a level of integration in the OS which is next level (if used with ZFS). You really get the best of both world.


Yes, running 2 php versions at the same time is quite tricky. One can do it using symlinks, but its a pain.

Its the same like running multiple versions of python (python vs python3, etc… cue the xkcd meme pic).

in the end its all a mess and thats why docker is such a nice thing.

Thanks for the heads up i will check Jails out.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: