Dockerized MongoDB Usage To run a shell session: # docker exec -ti mongo-alpine sh To use the mongo shell client: # docker exec -ti mongo-alpine mongo