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