Skip to content

Why use bind mount instead of docker volume for database folder? #14453

Closed Answered by alextran1502
helgehatt asked this question in Q&A
Discussion options

You must be logged in to vote

With the docker volume approach, users can mistakenly type in docker-compose down -V, which will remove the volume and hence remove your database.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by helgehatt
Comment options

You must be logged in to vote
4 replies
@danieldietzler
Comment options

@alextran1502
Comment options

@alextran1502
Comment options

@danieldietzler
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants