News for hackers. Stuff that matters.
Re:My VM is lighter and safer than your container by mschuster91 on Thursday November 02, 2017 @06:57PM (#15615119)
> I'm more curious, why would you run a DB in a container?

I develop different PHP apps - some are, uh, fossilized and don't work with MySQL 5.7 or later, some are on a more modern stack and can work with the latest and greatest stuff. Other apps I am working on run on pgsql. Also, I am on OS X.

All of this means it's either a Vagrant VM which I always forget to shut down and breaks every couple of months instead of Docker where I can do a simple docker ps -aq|xargs docker stop, and everything is pretty much reproducible.

And no, running the DBs native on OS X is a pure PITA - good luck getting different versions of MySQL and PHP to peacefully coexist.

On production servers the story is different but I can tailor a production server environment to the exact specs the software requires.

Re:My VM is lighter and safer than your container by michaelmrose on Friday November 03, 2017 @12:23AM (#15616677)
If getting the software you need to actually run is painful enough that you just run linux in a vm with a wrapper how is that easier than running linux in a vm or just run linux natively?
Re:My VM is lighter and safer than your container by mschuster91 on Friday November 03, 2017 @05:41AM (#15617835)
It's not painful by itself - the problem is having to run wildly different environments all at once.