We can run the interactive shell by running the following command:
docker container exec -it MyContainerName bash
Note: From this command, you will be able to get a bash shell running into the cointainer.
Then, we must get the mongo shell as admin. Otherwise, you will not be able to see the databases and collections.
Run mongo -u "USERNAME" -p "PASSWORD" HOSTIP --authenticationDatabase "admin"