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!

For Docker and Docker Compose please follow the documentation at 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.