Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating documentation #648

Merged
merged 2 commits into from
Jan 19, 2023
Merged

Updating documentation #648

merged 2 commits into from
Jan 19, 2023

Conversation

mattdark
Copy link

I was following the instructions here and got some errors when running the instruction for connecting to the Percona Server for MongoDB container.

$ docker run -it --link psmdb --rm percona/percona-server-mongodb:mongo mongo -h psmdb

The mongo tag was not found:

Unable to find image 'percona/percona-server-mongodb:mongo' locally
docker: Error response from daemon: manifest for percona/percona-server-mongodb:mongo not found: manifest unknown: manifest unknown.
See 'docker run --help'.

Replaced the percona/percona-server-mongodb:mongo with percona/percona-server-mongodb:6.0. Then, the mongo command was not found:

+ exec mongo -h psmdb
/entrypoint.sh: line 464: exec: mongo: not found

Checked the MongoDB documentation and learned that the mongo shell was replaced with mongosh in MongoDB 6.0. The correct instruction should be:

$ docker run -it --link psmdb --rm percona/percona-server-mongodb:6.0 mongosh mongodb://MONGODB_SERVER:PORT/DB_NAME

This outdated information in the documentation was also reported in the forum.

mattdark and others added 2 commits January 18, 2023 20:07
The `mongo` shell has been replaced with `mongosh`. The documentation must reflect this change, as the `mongo` shell is not available anymore.
Copy link
Contributor

@nastena1606 nastena1606 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution! LGTM

@nastena1606 nastena1606 merged commit b314fe8 into percona:6.0 Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants