diff --git a/Helpful-Mongo-Commands.md b/Helpful-Mongo-Commands.md new file mode 100644 index 0000000..a2ee22e --- /dev/null +++ b/Helpful-Mongo-Commands.md @@ -0,0 +1,7 @@ +### 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`