Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Completed
Categories Atlas CLI
Created by Guest
Created on Nov 12, 2023

No sufficient instructions

Please improve tutorials. This page (https://www.mongodb.com/docs/atlas/cli/stable/atlas-cli-docker/) is no sufficient. PS C:\ivo\projects\nest1> docker pull mongodb/atlas ... PS C:\ivo\projects\nest1> docker run --env-file atlas.env --rm -it mongodb/atlas bash [root@9bd3eed47f2d /]# [root@9bd3eed47f2d /]# show dbs bash: show: command not found [root@9bd3eed47f2d /]# mongo bash: mongo: command not found [root@9bd3eed47f2d /]# Please write more perfect and working tutorial for it. Second problem is docker's mongo-express (https://hub.docker.com/_/mongo-express). I've windows' Docker Desctop and the mongo-express doesn't simply work. Please improve it if it's yours, and make possible good instructions for it. For example i use with docker-compose.yml: version: "3.8" services: mongodb: #image: mongo:5.0.6-focal image: mongo:7.0-rc-jammy command: --replSet rs0 restart: always #environment: # MONGO_INITDB_ROOT_USERNAME: root # MONGO_INITDB_ROOT_PASSWORD: supersafe container_name: mongo volumes: - "./mongodata:/data/db" ports: - "27017:27017" networks: - mongo-database mongo-express: image: mongo-express:1.0.0-alpha.4 container_name: mongoui restart: always depends_on: - mongodb environment: - ME_CONFIG_MONGODB_SERVER=mongodb #- ME_CONFIG_MONGODB_ENABLE_ADMIN=true #- ME_CONFIG_MONGODB_ADMINUSERNAME=root #- ME_CONFIG_MONGODB_ADMINPASSWORD=supersafe - ME_CONFIG_BASICAUTH_USERNAME=root - ME_CONFIG_BASICAUTH_PASSWORD=root # - ME_CONFIG_MONGODB_URL=mongodb://root:root@mongodb:27017/?authSource=admin&replicaSet=rs0 ports: - "8080:8081" networks: - mongo-database networks: mongo-database: driver: bridge docker-compose down docker-compose up -d docker start mongoui If i put the line command: --replSet rs0, then mongoe-express is broken. For example nestjs framework requires the replica sets. Without it this solution doesn't work. Thank you!
  • ADMIN RESPONSE
    Oct 18, 2025
    For Docker and Docker Compose please follow the documentation at https://www.mongodb.com/docs/atlas/cli/current/atlas-cli-deploy-docker/. ( https://www.mongodb.com/docs/atlas/cli/current/atlas-cli-deploy-docker/ ) The docker image described there provides a simple way to run MongoDB with Atlas Search and Vector Search capabilities included in Docker and Docker Compose for development and testing purposes.