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:
# MONGOINITDBROOTUSERNAME: root
# MONGOINITDBROOTPASSWORD: supersafe
container_name: mongo
volumes:
- "./mongodata:/data/db"
ports:
- "27017:27017"
networks:
- mongo-database
mongo-express:
image: mongo-express:1.0.0-alpha.4
containername: mongoui
restart: always
dependson:
- mongodb
environment:
- MECONFIGMONGODBSERVER=mongodb
#- MECONFIGMONGODBENABLEADMIN=true
#- MECONFIGMONGODBADMINUSERNAME=root
#- MECONFIGMONGODBADMINPASSWORD=supersafe
- MECONFIGBASICAUTHUSERNAME=root
- MECONFIGBASICAUTHPASSWORD=root
# - MECONFIGMONGODBURL=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!

Hi Ivo,
Thank you for bringing up this feedback!
To better assist you, could you please provide a link to the specific documentation you believe requires improvements for the Atlas CLI Docker image (mongodb/atlas)? This would help us pinpoint the exact areas that need attention.
Additionally, it appears that you are attempting to execute MongoDB Shell database commands, but it's important to note that this Docker image is designed for MongoDB Atlas, a cloud service for managing MongoDB deployments in the Cloud. To access a list of available commands, you can run "atlas --help" after entering the bash, as demonstrated in your example. Clarifying this distinction in the documentation is crucial, and we appreciate you pointing it out.
If you have any other suggestions or specific areas you feel need enhancement in the documentation, please feel free to share them. Your input is valuable, and we want to ensure the documentation is clear and helpful.
Regarding your input for the "mongodb-express" image. It's important to note that the "mongodb-express" image is a Community-owned image and is not maintained by MongoDB directly. For any inquiries or support related to this specific image, we recommend reaching out to the Community directly. They would be better equipped to address questions and provide assistance for this particular image.
Thank you,
Jakub