Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
_0w8t
· 10y ago · 0 comments
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.
Comments
[–]
blorenz
10y ago
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
[–]
adenot
10y ago
Reverse question that no-one seems to ask: What's the advantage of running a DB on a container?
[–]
etherealG
10y ago
Spinning a new db in continuous integration for integration tests.
[–]
eggie5
10y ago
Yeah I'm wondering this too...
[–]
tzaman
10y ago
Read my reply below