Problems installing MongoDB in a docker container

Couldn’t get it to work in any configuration.
Tested out some other official dockerfiles from the github, couldn’t build any of them.
Instead I switched to using bitnami/mongodb:latest directly, that works.