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

What is wrong with DB in container? As long as one uses host volumes for persistent data, docker allows to isolate DB setup rather nicely.


Agreed and confused. Interested to find what would be wrong with this? (from my docker-compose.yml under the db service) volumes: - ./data/postgresql:/var/lib/postgresql/data


Reverse question that no-one seems to ask: What's the advantage of running a DB on a container?


Spinning a new db in continuous integration for integration tests.


Yeah I'm wondering this too...


Read my reply below




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: