专属域名
文档搜索
轩辕助手
Run助手
邀请有礼
返回顶部
快速返回页面顶部
收起
收起工具栏

mongodb/mongodb-atlas-local Docker 镜像 - 轩辕镜像

mongodb-atlas-local
mongodb/mongodb-atlas-local
通过Docker创建、管理和自动化MongoDB Atlas Local资源
10 收藏0 次下载activemongodb镜像
🚀专业版镜像服务,面向生产环境设计
版本下载
🚀专业版镜像服务,面向生产环境设计

mongodb/mongodb-atlas-local

Create, manage, and automate MongoDB Atlas Local resources from docker

Repository Overview

This is the Docker image for the Atlas Local experience.

Use the MongoDB Atlas Local Docker image to build applications with MongoDB Atlas in your preferred local environment and access features like Atlas Search and Atlas Vector Search throughout the entire software development lifecycle.

Getting Started
  1. Pull the Docker image.

To pull the latest Docker image, run docker pull mongodb/mongodb-atlas-local.

If you run docker pull mongodb/mongodb-atlas-local without specifying a version tag, Docker automatically pulls the latest version of the Docker image (mongodb/mongodb-atlas-local:latest).

To pull a specific version of the Docker image, run the following command, replacing tag with the version tag: docker pull mongodb/mongodb-atlas-local:<tag>.

  1. Run the database docker run -p 27017:27017 --name atlas-local mongodb/mongodb-atlas-local

  2. Wait till the container is healthy.

    • When using docker compose you can use depends on:
    yaml
    depends_on:
      atlas-local
        condition: service_healthy
    
    • Or using bash: while [ "`docker inspect -f {{.State.Health.Status}} atlas-local`" != "healthy" ]; do sleep 2; done
  3. Connect to the database mongosh "mongodb://localhost/?directConnection=true"

Authentication

To setup authentication for your local deployment, specify the following environment variables:

  • MONGODB_INITDB_ROOT_USERNAME: The username for the root user.
  • MONGODB_INITDB_ROOT_PASSWORD: The password for the root user.

You may also set it via filename mappings for an extra layer of security. Specify the following environment variables:

  • MONGODB_INITDB_ROOT_USERNAME_FILE: The path to the file containing the username for the root user.
  • MONGODB_INITDB_ROOT_PASSWORD_FILE: The path to the file containing the password for the root user.
Seeding

Map a volume to /docker-entrypoint-initdb.d containing .sh or .js files, they will be executed in alphabetical order.

The default db connected will be test unless the environment variable MONGODB_INITDB_DATABASE is set.

You can use $CONNECTION_STRING as the URI for connecting to databases in your init scripts, as it holds the default connection string for the database.

Logs

By default we only redirect mongod logs to stdout and stderr. You can set the extra environment variables to enable more logging:

  • MONGOT_LOG_FILE: The path to the file where you want to store the logs of Atlas Search (mongot).
  • RUNNER_LOG_FILE: The path to the file where you want to store the logs of runner.

Note: both of these variables can be set to /dev/stdout or /dev/stderr for convenience.

Telemetry

This image collects anonymous telemetry data to help us improve the product and to provide you with a better user experience. The data collected includes:

  • Container lifecycle events: startup/shutdown timing, authentication status, seeding results
  • Index usage: counts of search and vector indexes created and used
  • Database activity: CRUD operation counts, database uptime, total database size
  • Client information: anonymized driver versions, operating systems, and application names (limited to MongoDB official tools like Compass and mongosh)

All telemetry is associated with an anonymous deployment UUID. No customer data, database names, or personally identifiable information is collected.

You can opt out of telemetry by setting the DO_NOT_TRACK environment variable to 1. For example:

docker run -e DO_NOT_TRACK=1 -p 27017:27017 --name atlas-local mongodb/mongodb-atlas-local

Documentation

For more information, see Create a Local Atlas Deployment with Docker.

查看更多 mongodb-atlas-local 相关镜像 →
mongodb/mongodb-atlas-search logo
mongodb/mongodb-atlas-search
by MongoDB
认证
Atlas Search提供无缝、可扩展的体验,用于构建基于相关性的应用功能。
31M+ pulls
上次更新:30 天前
mongodb/atlas logo
mongodb/atlas
by MongoDB
认证
从命令行创建、管理和自动化MongoDB Atlas资源
10500K+ pulls
上次更新:4 天前
mongodb/mongodb-atlas-kubernetes-operator logo
mongodb/mongodb-atlas-kubernetes-operator
by MongoDB
认证
MongoDB Atlas Kubernetes Operator - 基于Kubernetes原生管理MongoDB Atlas基础设施
51M+ pulls
上次更新:4 天前
mongodb/mongodb-community-server logo
mongodb/mongodb-community-server
by MongoDB
认证
官方MongoDB社区服务器是由MongoDB公司推出的免费开源文档数据库服务,专为开发者与技术社区打造,支持以JSON格式存储灵活的非结构化及半结构化数据,具备高可扩展性、易部署性和丰富的查询功能,广泛应用于Web开发、大数据分析、移动应用后端等场景,为用户提供高效的数据管理解决方案并促进社区协作与技术交流。
17410M+ pulls
上次更新:4 天前
mongodb/mongodb-enterprise-server logo
mongodb/mongodb-enterprise-server
by MongoDB
认证
MongoDB官方企业高级服务器是面向企业级应用的高性能、可扩展文档数据库服务器,支持复杂查询、分布式部署与实时数据分析,提供企业级安全特性(如身份验证、数据加密)、完善的数据备份与恢复机制及专业监控工具,助力企业构建稳定高效的现代应用架构,满足大规模数据存储、处理与业务创新需求。
141M+ pulls
上次更新:4 天前
mongodb/mongodb-mcp-server logo
mongodb/mongodb-mcp-server
by MongoDB
认证
官方MongoDB MCP服务器镜像,用于部署和运行MongoDB MCP服务,提供官方支持的可靠运行环境。
1100K+ pulls
上次更新:5 天前

轩辕镜像配置手册

探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式

登录仓库拉取

通过 Docker 登录认证访问私有仓库

Linux

在 Linux 系统配置镜像服务

Windows/Mac

在 Docker Desktop 配置镜像

Docker Compose

Docker Compose 项目配置

K8s Containerd

Kubernetes 集群配置 Containerd

K3s

K3s 轻量级 Kubernetes 镜像加速

宝塔面板

在宝塔面板一键配置镜像

群晖

Synology 群晖 NAS 配置

飞牛

飞牛 fnOS 系统配置镜像

极空间

极空间 NAS 系统配置服务

爱快路由

爱快 iKuai 路由系统配置

绿联

绿联 NAS 系统配置镜像

威联通

QNAP 威联通 NAS 配置

Podman

Podman 容器引擎配置

Singularity/Apptainer

HPC 科学计算容器配置

其他仓库配置

ghcr、Quay、nvcr 等镜像仓库

专属域名拉取

无需登录使用专属域名

需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单

镜像拉取常见问题

轩辕镜像免费版与专业版有什么区别?

免费版仅支持 Docker Hub 访问,不承诺可用性和速度;专业版支持更多镜像源,保证可用性和稳定速度,提供优先客服响应。

轩辕镜像支持哪些镜像仓库?

专业版支持 docker.io、gcr.io、ghcr.io、registry.k8s.io、nvcr.io、quay.io、mcr.microsoft.com、docker.elastic.co 等;免费版仅支持 docker.io。

流量耗尽错误提示

当返回 402 Payment Required 错误时,表示流量已耗尽,需要充值流量包以恢复服务。

410 错误问题

通常由 Docker 版本过低导致,需要升级到 20.x 或更高版本以支持 V2 协议。

manifest unknown 错误

先检查 Docker 版本,版本过低则升级;版本正常则验证镜像信息是否正确。

镜像拉取成功后,如何去掉轩辕镜像域名前缀?

使用 docker tag 命令为镜像打上新标签,去掉域名前缀,使镜像名称更简洁。

查看全部问题→

用户好评

来自真实用户的反馈,见证轩辕镜像的优质服务

oldzhang的头像

oldzhang

运维工程师

Linux服务器

5

"Docker访问体验非常流畅,大镜像也能快速完成下载。"

轩辕镜像
镜像详情
...
mongodb/mongodb-atlas-local
官方博客Docker 镜像使用技巧与技术博客
热门镜像查看热门 Docker 镜像推荐
一键安装一键安装 Docker 并配置镜像源
提交工单
免费获取在线技术支持请 提交工单,官方QQ群:13763429 。
轩辕镜像面向开发者与科研用户,提供开源镜像的搜索和访问支持。所有镜像均来源于原始仓库,本站不存储、不修改、不传播任何镜像内容。
免费获取在线技术支持请提交工单,官方QQ群: 。
轩辕镜像面向开发者与科研用户,提供开源镜像的搜索和访问支持。所有镜像均来源于原始仓库,本站不存储、不修改、不传播任何镜像内容。
官方邮箱:点击复制邮箱
©2024-2026 源码跳动
官方邮箱:点击复制邮箱Copyright © 2024-2026 杭州源码跳动科技有限公司. All rights reserved.
轩辕镜像 官方专业版 Logo
轩辕镜像轩辕镜像官方专业版
首页个人中心搜索镜像
交易
充值流量我的订单
工具
提交工单镜像收录一键安装
Npm 源Pip 源Homebrew 源
帮助
常见问题
其他
关于我们网站地图

官方QQ群: 13763429