docker中运行bash: mongo: command not found

// mongodb 6版本以上废弃了mongo
// 直接使用mongosh
docker exec -it mongodb27017 mongosh
滚动至顶部