Command line tool to log all MongoDB queries in a "tail"able way
2.2K
Run with Docker the help command:
$ docker run -it --rm mrsarm/mongotail --help
If you want to connect with a database also running locally in a container, you have to link both instances (see howto in the Docker documentation), or if the db is a local instance running without Docker, remember to use the local IP of your computer because the localhost address (IP 127.0.0.1) points to the container, not to your host. Eg.:
$ docker run -it --rm mrsarm/mongotail 192.168.0.21/test
If it does not work, it may be related with network access rules, or because the mongo instance is not listening remote connections, check to have properly configured the IP Binding.
Check the mongotail doc here: https://github.com/mrsarm/mongotail
Content type
Image
Digest
sha256:ff5a18d11…
Size
49.8 MB
Last updated
over 1 year ago
docker pull mrsarm/mongotail