What's the best practices creating a mongodb container in docker with default data (collections with documents)?
I've found this other thread (How to create a Mongo Docker Image with default collections and data?) that's creates another db-path and mounts it as a new volume. But it doesn't seems right to me cause aren't you ending up with unused paths and mounted volumes?
Is there right/another way to do this?