Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 693 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 693 Bytes

Docker MongoDB Tools

dockerhub dockerhub

Ubuntu based image with mongodb-tools installed

Pull image

# Docker Hub
docker pull lironer/mongodb-tools

# GitHub Container Registry
docker pull ghcr.io/lironer/mongodb-tools

How to Use

For example, run the command mongodump to backup Mongo DB:

docker run --rm -it -v "$PWD"/data:/data lironer/mongodb-tools mongodump --host localhost --port 27017 --db test --gzip --archive="/data/backup.gz"