This blog creates a Docker MongoDB Image container, database, collection and connnect this container through .NET Core Console app to read table data.
Why do you think that https://github.com/meysamhadeli/booking-microservices is a good alternative to create-mongodb-docker-image-and-connect-from-dot-net-core-app