alpine/mongosh
mongosh - MongoDB Command Line Database Tools
50K+
mongosh — The Mongo Command-Line Client
Dockerfile
https://github.com/alpine-docker/multi-arch-libs/blob/master/mongosh/Dockerfile
Docker images are built together:
https://app.circleci.com/pipelines/github/alpine-docker/multi-arch-libs
Image list:
https://github.com/alpine-docker/multi-arch-libs/tree/master#image-details
https://hub.docker.com/repository/docker/alpine/mongosh/tags
alias mongosh="docker run -ti --rm alpine/mongosh mongosh"
mongosh mongodb://192.168.0.5:9999/ships
MongoDB Shell ** mongosh - New mongo shell tool
Binary Import / Export
** mongodump - Creates a binary export of the contents of a mongod database.
** mongorestore - Restores data from a mongodump database dump into a mongod or mongos
** bsondump - Converts BSON dump files into JSON.
Data Import / Export
** mongoimport - Imports content from an Extended JSON, CSV, or TSV export file.
** mongoexport - Produces a JSON or CSV export of data stored in a mongod instance.
Diagnostic Tools
** mongostat - Provides a quick overview of the status of a currently running mongod or mongos instance.
** mongotop - Provides an overview of the time a mongod instance spends reading and writing data. GridFS Tools
** mongofiles - Supports manipulating files stored in your MongoDB instance in GridFS objects.
Mostly it is used during CI/CD (continuous integration and continuous delivery) or as part of an automated build/deployment
docker pull alpine/mongosh