先进入mongo的容器
docker exec -it [容器名称] /bin/sh
备份
mongodump -h 127.0.0.1:27017 -utuhu -p123123 --drop --authenticationDatabase tuhu-international -o ./db2
恢复
mongorestore -h 127.0.0.1:27017 -utuhu -p123123 --drop --authenticationDatabase tuhu-international ./db2