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