Create a container from the mongo image, run is as a daemon (-d), expose the port 27017 (-p) and use the host network (--net host)
docker run --name=YOURCONTAINERNAME -d -p 27017 --net host mongo
Now connect to mongo using mongodb shell and create an administrator user: use admin db.createUser( { user: "myUserAdmin", pwd: "abc123", roles: [ { role: "userAdminAnyDatabase", db: "admin" } ] } )
no puedo conectarme de manera remota