Clone
1
Helpful Mongo Commands
Luke Berndt edited this page 2020-06-11 22:13:16 -04:00

Join the Mongo Container

On the host machine where all the containers are, run:

docker exec -i -t $(docker ps -a | grep mongo | awk '{print $1}') /bin/bash

This will give you a shell inside the mongo container. Start mongo with: mongo