3 ms·
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.
by fpoling 10y ago
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.
- eggie5 10y agoYeah I'm wondering this too...
- blorenz 10y agoAgreed 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
- tzaman 10y agoRead my reply below
- adenot 10y agoReverse question that no-one seems to ask: What's the advantage of running a DB on a container?
- etherealG 10y agoSpinning a new db in continuous integration for integration tests.