use mongo shell on docker code example Example: docker exc into mongo shell docker exec -it container_name mongo