Thanks, @Yaj_Vikani and @Jake_Turner, for bringing this up, and apologies for the delayed response. The local Atlas development experience was not included in the Public Preview, as noted in our documentation’s known limitations section.

However, lately some progress has been made on this anticipated feature. With the newly released Atlas CLI 1.14.0 version, we’re now offering support for running the local experience from a container. We are currently refining dedicated documentation, but for now, here’s a quick guide for running the Local Atlas experience directly from Docker or Docker Compose:

Docker

  1. Fetch the latest mongodb/atlas docker image with docker pull mongodb/atlas:latest
  2. Start the Docker image in bash mode using docker run -p 27777:27017 --privileged -it mongodb/atlas bash . More options here.
  3. Set up a local deployment with atlas deployments setup --bindIpAll --username root --password root --type local --force
  4. To connect to the deployment from the host (outside the container), use: mongosh --port 27777 --username root --password root

Docker-Compose

  1. Install docker-compose with brew install docker-compose
  2. Navigate to your project folder and create a docker-compose.yml file with the content provided below.
services:
  mongo:
    image: mongodb/atlas
    privileged: true
    command: |
      /bin/bash -c "atlas deployments setup --type local --port 27777 --bindIpAll --username root --password root --force && tail -f /dev/null"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    ports:
      - 27777:27777
  1. Start docker-compose with docker-compose up
  2. Connect to the deployment from the host (outside the container) using: mongosh --port 27777 --username root --password root

Please let me know how it works out for you!