docker-alpine-mongo icon indicating copy to clipboard operation
docker-alpine-mongo copied to clipboard

Add mongodb-tools

Open yosmanyga opened this issue 8 years ago • 4 comments

It would be nice to have mongodump and mongorestore.

yosmanyga avatar Apr 29 '17 07:04 yosmanyga

I don't think this is possible, there is no mongodb-tools package in alpine (AFAK)

mlippens avatar Dec 06 '17 13:12 mlippens

in my case, my api image was based of golang, git clone https://github.com/mongodb/mongo-tools and ran go install was easy for me since i was gona use it from the api side

montera82 avatar Dec 21 '17 18:12 montera82

Inside this image, you could just add mongo tools: docker exec -ti mongo sh then in the shell: apk add --no-cache mongodb-tools

mvertes avatar Apr 22 '18 17:04 mvertes

please add these https://docs.mongodb.com/manual/reference/program/ as mentioned by others.

mbana avatar Jun 25 '18 10:06 mbana