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

Yeah, if you are running Postgres natively on OSX instead of in Docker you are behind the times. I’m sure this will be downvoted, but it needs to be said.


No it doesn’t. There are several Mac-native apps, such as QGIS, for which Postgres is a sensible local datastore. Running it in a container for this is an entirely unnecessary complication.


> you are behind the times

Seriously? What is wrong with running programs natively without any layers in between?

Also, IIRC PostgreSQL isn't recommended to be run in docker due to a possible data loss?


Because your average Unix program will basically spread itself all over your system, and is nearly impossible to remove. I don't want to pollute all my system directories with random gunk.

Keeping things in containers keeps it from making a mess, and that alone makes it worth it, to say nothing about the advantages for handling dependencies or running multiple copies or versions.


The original issue is about Postgres.app which very deliberately _doesn’t_ spread itself all over your system.


your average unix program, esp. something like postgres which has been developed for literally decades, will basically spread itself into well defined compile-time locations which are easily removed by any competent package manager or even competent manual build (touch package.stamp && make install && find $prefix -cnewer -type f package.stamp > package.file-list )

It's only 'random' if you don't know what you are doing. Containers are fine and often good, but their existence/availability doesn't 'supercede' real knowledge.


How does permeance compare? Also that doesn't look like a good option for M1 mac users.


... alternately, if you think running in docker is suitable for and solves all problems, you are a noob.




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

Search: