connect to mongodb running in docker code example Example: access mongodb running in docker docker exec -it mongodb bash mongo