Dokku-Mongo uses deprecated `mongo` instead of `mongosh`
TimHal opened this issue · 2 comments
TimHal commented
Description of problem
The plugin appears to use mongo
which is deprecated in favor of the newer mongosh
.
How reproducible
Install the plugin.
Connect as admin via
dokku mongo:connect-admin <service>
Steps to Reproduce
- Install the plugin
dokku mongo:connect-admin <service>
Actual Results
A mongo
-based connection with the warning
================
Warning: the "mongo" shell has been superseded by "mongosh",
which delivers improved usability and compatibility.The "mongo" shell has been deprecated and will be removed in
an upcoming release.
For installation instructions, see
https://docs.mongodb.com/mongodb-shell/install/
Expected Results
A mongosh
-based connection
dokku report APP_NAME
output
No app required
How (deb/make/rpm) and where (AWS, VirtualBox, physical, etc.) was Dokku installed?:
Following the dokku getting started guide
josegonzalez commented
Is the mongo shell built into the official image?
TimHal commented
Yes, mongo
is still kept for backwards compatibility I think but anything from version 5.x+ can use mongosh
.
See https://hub.docker.com/_/mongo (Chapter "Connect to MongoDB from another Docker container")