Atlas CLI
The MongoDB Atlas Command Line Interface, or Atlas CLI (mongodb-atlas-cli), allows you to create, manage, and automate operations related to your MongoDB Atlas deployment. This includes tasks like provisioning clusters, creating and deleting users, and controlling network access. You can also access related products like Atlas Search. With the Atlas CLI, you can quickly interact with MongoDB services from the command line for easier testing and scripting.
To report bugs, please use our mongodbcli github issues.
5 results found
-
Official Docker Image for Atlas Search
It Could be very useful test Atlas search locally using a dedicated Docker Image, so it is portable to a Kubernetes cluster
9 votesWe now have a docker image that includes the MongoDB server and Atlas Search and Vector Search: https://www.mongodb.com/docs/atlas/cli/current/atlas-cli-deploy-docker/. This image is designed (and licensed for) development and testing locally and in CI/CD. It is not intended for production use.
The image is currently in public preview and we expect to GA it later in the year (2024).
-
Include MongoDB Shell (mongosh) and MongoDB Tools (mongoimport, mongoexport, mongodump, mongorestore) in Atlas Local Docker Image
Please add the mongo shell and database tools to the Atlas Local docker image (mongodb/mongodb-atlas-local).
When working with MongoDB and docker, it is a frequent requirement to perform routine maintenance on the database, add seed data, initialise indexes and other tasks.
Today the Atlas Local docker image (mongodb/mongodb-atlas-local) does not include the following useful utility processes:
- MongoDB Shell (mongosh)
MongoDB Tools
- mongoimport
- mongoexport
- mongodump
- mongorestoreWith the result that it is not possible (without using another container or installing local client tools / libraries) to perform such activities as:
- intialise the database with indexes…2 votes -
Ability to upgrade MongoDB version for local Atlas deployment
Add the ability for the Atlas CLI to upgrade the version of MongoDB running in a local Atlas deployment without having to do a manual migration (or creating a new container).
1 vote -
Ability to set maxClauseCount for cli image
We have a query that needs to filter by a long list of ids.
I get the error: “Query contains too many nested clauses; maxClauseCount is set to 1024”
This error does not happen in M10+ cluster because the lucene maxClauseCount seems to be higher there.
It would be great to be able to set the maxClauseCount of lucene with an env var so we can test this.
1 vote -
Add instructions for windows local development.
It took me some research, but I was able to run the mongodb/atlas:latest docker image on a windows machine using Docker Desktop. I had to add this config on WSL nestedVirtualization=true (see https://learn.microsoft.com/en-us/windows/wsl/wsl-config).
Please add this to the documentation to save some troubleshooting time for other windows developers that might want to try this feature locally.
1 voteSupport for local development on Windows via the Atlas CLI is coming soon.
In the meantime, if what you are going for is a Docker-first experience, you can follow the steps described at https://www.mongodb.com/docs/atlas/cli/current/atlas-cli-deploy-docker/. The image document there will work with Docker Desktop on windows.
- Don't see your idea?