https://github.com/lironer/docker-mongodb-tools
Ubuntu based image with mongodb-tools installed
https://github.com/lironer/docker-mongodb-tools
docker mongodb mongodb-tools
Last synced: 9 months ago
JSON representation
Ubuntu based image with mongodb-tools installed
- Host: GitHub
- URL: https://github.com/lironer/docker-mongodb-tools
- Owner: LironEr
- License: mit
- Created: 2022-01-06T17:01:58.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T20:52:26.000Z (over 1 year ago)
- Last Synced: 2025-01-31T10:22:29.207Z (over 1 year ago)
- Topics: docker, mongodb, mongodb-tools
- Language: Dockerfile
- Homepage:
- Size: 3.91 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Docker MongoDB Tools
[](https://hub.docker.com/r/lironer/mongodb-tools)
[](https://hub.docker.com/r/lironer/mongodb-tools)
Ubuntu based image with mongodb-tools installed
## Pull image
```sh
# 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:
```sh
docker run --rm -it -v "$PWD"/data:/data lironer/mongodb-tools mongodump --host localhost --port 27017 --db test --gzip --archive="/data/backup.gz"
```