Skip to content

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.


You can install the Atlas CLI via, Homebrew, Apt, Yum, or a binary download. Help us improve the MongoDB Atlas CLI by posting your ideas and suggestions for improvements.

To report bugs, please use our mongodbcli github issues.


2 results found

  1. 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

    6 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
  2. Using atlas cli local deployment feature in a docker-compose based automatic testing environment

    Is it possible to use this in a CI based on docker compose for automated testing?

    1 vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    Hi Daniel,


    I appreciate your message and your request.


    I'd like to shed some light on the Local Development solution for Atlas, Atlas Search, and Vector Search through the Atlas CLI. This solution relies on containers as the foundation for setting up local Atlas deployments. However, it's important to note that if you run it within a Docker container, you'll find yourself dealing with a concept known as Podman in Docker (PIND).

    In our current Public Preview release, we offer support for various configurations, but running the Local Development in a Docker container isn't part of the supported options.


    Nonetheless, there's a helpful resource that guides you on how to work with such a setup, which you can find here: https://www.redhat.com/sysadmin/podman-inside-container


    For your convenience, you can already run the Local Development in CI/CD workflows when working with the Atlas CLI directly. It provides a scriptable approach to executing all the…

  • Don't see your idea?

Feedback and Knowledge Base