mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-12 08:47:40 -05:00
Created Helpful Mongo Commands (markdown)
7
Helpful-Mongo-Commands.md
Normal file
7
Helpful-Mongo-Commands.md
Normal file
@@ -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`
|
||||
Reference in New Issue
Block a user