DEV Community

loading...

Discussion on: How to spin MongoDB server with Docker and Docker Compose

Collapse
bradtaniguchi profile image
Brad

Hi, I've been messing around with a setup very similar to this and was wondering if there was a way to get the created mongo volume to not be created by root. Its rather annoying to not be able to just "wipe" the local database data without using sudo (or similar).

Just wondering if there was an easy way around this, thanks!

Collapse
sonyarianto profile image
Sony AK Author

Hi Brad, thanks for the comment. Unfortunately I still don't know for this answer. But I am quick look at the internet. Is this related with this?