Sign inSign up

calebhankins/mongo-tools

By calebhankins

Updated over 6 years ago

mongo-tools 3.7 with mongoimport fork for enhanced csv arrays, bulk upsert and remove modes

Image
0

293

calebhankins/mongo-tools repository overview

Docker Files To Build calebHankins's mongo-tools Fork

Docker Cloud Automated build Docker Cloud Build Status

This repo builds the calebHankins/mongo-tools fork that implements these changes:

Build

Run these commands from the same folder as this readme. Tweak the Dockerfile to meet your needs.

docker build --rm -f "Dockerfile" -t mongo-tools:latest .

Using The Mongo Tool Suite From Docker

# Start the container 
docker run --rm -it mongo-tools:latest

# Default behavior will put you in a dir with the bin mongo-tools
/mongo-tools # ls
bsondump      mongodump     mongoexport   mongofiles    mongoimport   mongorestore  mongostat     mongotop

If you know which tool you want, you can override the default entry point and run that tool directly

# Run mongoimport --help
docker run --entrypoint "/mongo-tools/mongoimport" mongo-tools:latest --help

Tag summary

Content type

Image

Digest

Size

52.6 MB

Last updated

over 6 years ago

docker pull calebhankins/mongo-tools