logo
docker.io/mongodb/mongodb-community-server:9.0-ubi9-slim
linux/amd64 docker.io qqsina69834 贡献

MongoDB 社区版服务器

这是一个由 MongoDB 官方提供的 Docker 容器镜像,包含了社区版 MongoDB 数据库服务器。

它提供了一个稳定、高效的数据库服务器,并具有丰富的功能,适合各种应用场景。

你可以使用这个镜像快速搭建 MongoDB 数据库,并进行各种操作。

更多关于 MongoDB 社区版的信息,请参考 MongoDB 官方网站.

14
浏览次数
735.94MB
镜像大小
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:9.0-ubi9-slim
源镜像
docker.io/mongodb/mongodb-community-server:9.0-ubi9-slim
镜像ID
sha256:e0a8e17cc5fa191ef0f1391d8aa9e8a3c2dbbc611c511ad953720cff7acee5a1
镜像 TAG
9.0-ubi9-slim
镜像大小
735.94MB
平台架构
linux/amd64
镜像源
docker.io
CMD
mongod
启动入口
/usr/local/bin/docker-entrypoint
工作目录
/
OS/平台
linux/amd64
镜像创建
2026-11-04T06:23:01.87419951Z
同步时间
2026-11-04 19:30
浏览量
14 次
贡献者
avatar qqsina69834
🔌 开放端口 1
27017/tcp
📁 目录挂载 2
 /data/configdb  /data/db
⚙️ 环境变量 3
KeyValue
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 0
HOME=/data/db 1
GLIBC_TUNABLES=glibc.pthread.rseq=0 2
🏷️ 镜像标签 22
KeyValue
x86_64 architecture
2026-10-13T12:43:35Z build-date
ubi9-micro-container com.redhat.component
https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI com.redhat.license_terms
cpe:/a:redhat:enterprise_linux:9::appstream cpe
Container configured with a standalone instance of MongoDB description
public distribution-scope
1.45.0 io.buildah.version
Very small image which doesn't install the package manager. io.k8s.description
Red Hat Universal Base Image 9 Micro io.k8s.display-name
io.openshift.expose-services
support@mongodb.com maintainer
MongoDB Standalone name
2026-10-13T12:43:35Z org.opencontainers.image.created
f9d3e906f73b403e748bc95bb774a380d66c1f8e org.opencontainers.image.revision
1791895366 release
MongoDB Standalone Container summary
https://catalog.redhat.com/en/search?searchType=containers url
f9d3e906f73b403e748bc95bb774a380d66c1f8e vcs-ref
git vcs-type
MongoDB vendor
9.0.4 version

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:9.0-ubi9-slim
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:9.0-ubi9-slim  docker.io/mongodb/mongodb-community-server:9.0-ubi9-slim

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:9.0-ubi9-slim
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:9.0-ubi9-slim  docker.io/mongodb/mongodb-community-server:9.0-ubi9-slim

Shell快速替换命令

sed -i 's#mongodb/mongodb-community-server:9.0-ubi9-slim#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:9.0-ubi9-slim#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:9.0-ubi9-slim && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:9.0-ubi9-slim  docker.io/mongodb/mongodb-community-server:9.0-ubi9-slim'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:9.0-ubi9-slim && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:9.0-ubi9-slim  docker.io/mongodb/mongodb-community-server:9.0-ubi9-slim'

镜像构建历史


# 2026-11-04 14:23:01  0.00B 设置默认要执行的命令
CMD ["mongod"]
                        
# 2026-11-04 14:23:01  0.00B 声明容器运行时监听的端口
EXPOSE map[27017/tcp:{}]
                        
# 2026-11-04 14:23:01  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/usr/local/bin/docker-entrypoint"]
                        
# 2026-11-04 14:23:01  0.00B 设置环境变量 GLIBC_TUNABLES
ENV GLIBC_TUNABLES=glibc.pthread.rseq=0
                        
# 2026-11-04 14:23:01  0.00B 指定运行容器时使用的用户
USER mongod
                        
# 2026-11-04 14:23:01  0.00B 设置环境变量 HOME
ENV HOME=/data/db
                        
# 2026-11-04 14:23:01  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/data/db /data/configdb]
                        
# 2026-11-04 14:23:01  0.00B 复制新文件或目录到容器中
COPY /data /data # buildkit
                        
# 2026-11-04 14:23:01  410.00B 复制新文件或目录到容器中
COPY /etc/group /etc/group # buildkit
                        
# 2026-11-04 14:23:01  699.00B 复制新文件或目录到容器中
COPY /etc/passwd /etc/passwd # buildkit
                        
# 2026-11-04 14:23:01  155.00B 复制新文件或目录到容器中
COPY /licenses /licenses # buildkit
                        
# 2026-11-04 14:23:01  221.39MB 复制新文件或目录到容器中
COPY /usr/bin/mongos /usr/bin/mongos # buildkit
                        
# 2026-11-04 14:23:01  169.15MB 复制新文件或目录到容器中
COPY /usr/bin/mongosh /usr/bin/mongosh # buildkit
                        
# 2026-11-04 14:23:01  304.28MB 复制新文件或目录到容器中
COPY /usr/bin/mongod /usr/bin/mongod # buildkit
                        
# 2026-11-04 14:23:01  13.94MB 复制新文件或目录到容器中
COPY /libs/ /usr/lib64/ # buildkit
                        
# 2026-11-04 14:23:01  4.18MB 复制新文件或目录到容器中
COPY /docker-entrypoint/target/release/docker-entrypoint /usr/local/bin/docker-entrypoint # buildkit
                        
# 2026-11-04 14:23:01  0.00B 添加元数据标签
LABEL name=MongoDB Standalone version=9.0.4 summary=MongoDB Standalone Container description=Container configured with a standalone instance of MongoDB vendor=MongoDB maintainer=support@mongodb.com
                        
# 2026-10-13 20:44:22  23.00MB 
/bin/sh -c #(nop) LABEL "org.opencontainers.image.created"="2026-10-13T12:43:35Z" "org.opencontainers.image.revision"="f9d3e906f73b403e748bc95bb774a380d66c1f8e" "build-date"="2026-10-13T12:43:35Z" "architecture"="x86_64" "vcs-ref"="f9d3e906f73b403e748bc95bb774a380d66c1f8e" "vcs-type"="git" "release"="1791895366"org.opencontainers.image.created=2026-10-13T12:43:35Z,org.opencontainers.image.revision=f9d3e906f73b403e748bc95bb774a380d66c1f8e
                        
# 2026-10-13 20:44:22  0.00B 
/bin/sh -c #(nop) COPY dir:a5d9f3d0f25e188654651a59a8d72caa67c6cb0363d2e7349cccdc71c8e1d502 in /root/buildinfo/      
                        
# 2026-10-13 20:44:22  0.00B 
/bin/sh -c #(nop) COPY dir:a5d9f3d0f25e188654651a59a8d72caa67c6cb0363d2e7349cccdc71c8e1d502 in /usr/share/buildinfo/      
                        
# 2026-10-13 20:44:21  0.00B 
/bin/sh -c #(nop) CMD /bin/sh
                        
# 2026-10-13 20:44:21  0.00B 
/bin/sh -c #(nop) COPY file:1376702515d596f414e3aa494e0daa6d408a6d2475c4aeca96bf9392f5287f69 in /etc/yum.repos.d/      
                        
# 2026-10-13 20:44:21  0.00B 
/bin/sh -c #(nop) COPY dir:9d5fc673756cb89779b7886559c93efadadfc4da076a120534dcdf05e8b1e7e7 in /      
                        
# 2026-10-13 20:44:20  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
                        
# 2026-10-13 20:44:20  0.00B 
/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 9 Micro"
                        
# 2026-10-13 20:44:20  0.00B 
/bin/sh -c #(nop) LABEL io.k8s.description="Very small image which doesn't install the package manager."
                        
# 2026-10-13 20:44:20  0.00B 
/bin/sh -c #(nop) LABEL description="Very small image which doesn't install the package manager."
                        
# 2026-10-13 20:44:20  0.00B 
/bin/sh -c #(nop) LABEL summary="ubi9 micro image"
                        
# 2026-10-13 20:44:20  0.00B 
/bin/sh -c #(nop) LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
                        
# 2026-10-13 20:44:20  0.00B 
/bin/sh -c #(nop) LABEL distribution-scope="public"
                        
# 2026-10-13 20:44:20  0.00B 
/bin/sh -c #(nop) LABEL cpe="cpe:/a:redhat:enterprise_linux:9::appstream"
                        
# 2026-10-13 20:44:20  0.00B 
/bin/sh -c #(nop) LABEL version="9.8"
                        
# 2026-10-13 20:44:20  0.00B 
/bin/sh -c #(nop) LABEL name="ubi9/ubi-micro"
                        
# 2026-10-13 20:44:20  0.00B 
/bin/sh -c #(nop) LABEL com.redhat.component="ubi9-micro-container"
                        
# 2026-10-13 20:44:20  0.00B 
/bin/sh -c #(nop) LABEL url="https://catalog.redhat.com/en/search?searchType=containers"
                        
# 2026-10-13 20:44:20  0.00B 
/bin/sh -c #(nop) LABEL vendor="Red Hat, Inc."
                        
# 2026-10-13 20:44:20  0.00B 
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc."
                        
                    

镜像信息

{
    "Id": "sha256:e0a8e17cc5fa191ef0f1391d8aa9e8a3c2dbbc611c511ad953720cff7acee5a1",
    "RepoTags": [
        "mongodb/mongodb-community-server:9.0-ubi9-slim",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:9.0-ubi9-slim"
    ],
    "RepoDigests": [
        "mongodb/mongodb-community-server@sha256:1e92e40f0f1f4918d59eb327bb9438a407f5dd1163be57cbbf74a5f8bd739e1f",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server@sha256:0d5d0c98d35552c6f3193f2a1555bbbb4d84ebd067ec5e82a22496f8c4fe2cf6"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2026-11-04T06:23:01.87419951Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "mongod",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "27017/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "HOME=/data/db",
            "GLIBC_TUNABLES=glibc.pthread.rseq=0"
        ],
        "Cmd": [
            "mongod"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/data/configdb": {},
            "/data/db": {}
        },
        "WorkingDir": "/",
        "Entrypoint": [
            "/usr/local/bin/docker-entrypoint"
        ],
        "OnBuild": null,
        "Labels": {
            "architecture": "x86_64",
            "build-date": "2026-10-13T12:43:35Z",
            "com.redhat.component": "ubi9-micro-container",
            "com.redhat.license_terms": "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI",
            "cpe": "cpe:/a:redhat:enterprise_linux:9::appstream",
            "description": "Container configured with a standalone instance of MongoDB",
            "distribution-scope": "public",
            "io.buildah.version": "1.45.0",
            "io.k8s.description": "Very small image which doesn't install the package manager.",
            "io.k8s.display-name": "Red Hat Universal Base Image 9 Micro",
            "io.openshift.expose-services": "",
            "maintainer": "support@mongodb.com",
            "name": "MongoDB Standalone",
            "org.opencontainers.image.created": "2026-10-13T12:43:35Z",
            "org.opencontainers.image.revision": "f9d3e906f73b403e748bc95bb774a380d66c1f8e",
            "release": "1791895366",
            "summary": "MongoDB Standalone Container",
            "url": "https://catalog.redhat.com/en/search?searchType=containers",
            "vcs-ref": "f9d3e906f73b403e748bc95bb774a380d66c1f8e",
            "vcs-type": "git",
            "vendor": "MongoDB",
            "version": "9.0.4"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 735936962,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/ea083e4bfbb5e66329426a4672fd96893e7fa09bfdfdec64e5abddd07f7d23de/diff:/var/lib/docker/overlay2/313b3651ae521c7590fe3c3dba3e8aaed2428165e71af9f901ab86fae661e903/diff:/var/lib/docker/overlay2/cfe0b468933b54473e60162fdde0957ccec4674b8bd3c890faa7c26611c4be8f/diff:/var/lib/docker/overlay2/a2d18de5e0e4385f7a5d16d974d4737e02a83b01dfbdaca52294ba342596620f/diff:/var/lib/docker/overlay2/490f1e16db70337271309718fa51884caa79e256e721f4ce3a990623f3f149fe/diff:/var/lib/docker/overlay2/3d689cd5ed44237b86dd8b8ff39d538ac3f74db42af8918f146b3a2b671de4ae/diff:/var/lib/docker/overlay2/3928107a1dfb14e637280cb046a9a9e6566cc30b8d6ebd945764124a14498686/diff:/var/lib/docker/overlay2/841740c8bc3ef94921e51ce21a0794f80048108c847b53d57b5b2d0a6cd160c9/diff:/var/lib/docker/overlay2/3dde9795df45db3163e62308ad48b362aff2c93cd6f93c524f9daf2a086af131/diff",
            "MergedDir": "/var/lib/docker/overlay2/3d990666aeca0247571e37fc4216e73c221383b1c4d34a1244655bfe8bec3c0d/merged",
            "UpperDir": "/var/lib/docker/overlay2/3d990666aeca0247571e37fc4216e73c221383b1c4d34a1244655bfe8bec3c0d/diff",
            "WorkDir": "/var/lib/docker/overlay2/3d990666aeca0247571e37fc4216e73c221383b1c4d34a1244655bfe8bec3c0d/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:76a101b85b66bbdf48f47beed620127a6d2c1c3657c52920db691d63ce81df99",
            "sha256:2a860c77d47e8a17a577df517ce900ce6cf55bbce442eec2029323073c1589ef",
            "sha256:99debe0992975834e26ab73b2cd75be5e654ed32cceba80855de37dba95a041f",
            "sha256:b00b165dd67328efb98601ea424361b02f7f01b394e9f70f6228769d925d9b4d",
            "sha256:192447fb52c61c5815d732f03e4dad567ca06d4973a45b73ef704c995397de93",
            "sha256:671d6ed1a7f01b4616bcf73c37c020ff892ae4066bf0115336a06d10b553f12a",
            "sha256:31208a141ec3870ce0c1c7ee2623490f85d2846bf52ad5fbe7d74029779fb88a",
            "sha256:8238b92f9b0a0583eceba16c45c5dc7f1a84c9250d344a494edd3007732e4dcb",
            "sha256:98a08b04c5dccb0660e03f0b55277fd252b65a05dc3b56d72b31e9191e05e8da",
            "sha256:7af5debc1ecc38aeb362957ef042ab3a47aae5f3fee86d4581019eedefb527f4"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-11-04T19:30:29.371128363+08:00"
    }
}

更多版本

docker.io/mongodb/mongodb-community-server:4.4-ubi8-slim

linux/amd64 docker.io362.07MB2026-07-18 19:10
201

docker.io/mongodb/mongodb-community-server:4.4.29-ubuntu2204

linux/amd64 docker.io849.58MB2026-01-09 20:40
501

docker.io/mongodb/mongodb-community-server:4.4.30-ubuntu2204

linux/amd64 docker.io871.08MB2026-01-30 22:57
547

docker.io/mongodb/mongodb-community-server:4.4.31-ubuntu2204

linux/amd64 docker.io829.40MB2026-06-19 23:29
422

docker.io/mongodb/mongodb-community-server:6.0.10-ubi9

linux/amd64 docker.io1.08GB2025-07-11 18:04
594

docker.io/mongodb/mongodb-community-server:6.0.11-ubi9

linux/amd64 docker.io1.16GB2024-12-04 15:56
838

docker.io/mongodb/mongodb-community-server:6.0.16-ubuntu2204

linux/amd64 docker.io1.19GB2025-03-12 09:57
802

docker.io/mongodb/mongodb-community-server:6.0.3-ubuntu2204

linux/arm64 docker.io1.14GB2025-12-06 13:20
475

docker.io/mongodb/mongodb-community-server:7.0.24-rc0-ubuntu2204

linux/amd64 docker.io1.26GB2025-09-04 09:39
622

docker.io/mongodb/mongodb-community-server:7.0.3-rc1-ubi8

linux/amd64 docker.io1.16GB2024-10-21 16:09
1400

docker.io/mongodb/mongodb-community-server:7.0.37-ubi9-slim

linux/amd64 docker.io529.27MB2026-07-03 17:24
299

docker.io/mongodb/mongodb-community-server:8.0-ubi8

linux/amd64 docker.io1.22GB2025-06-26 10:45
1137

docker.io/mongodb/mongodb-community-server:8.0.1-ubi8

linux/amd64 docker.io1.21GB2025-12-26 11:22
514

docker.io/mongodb/mongodb-community-server:8.0.10-ubi8

linux/amd64 docker.io1.22GB2025-06-26 10:46
789

docker.io/mongodb/mongodb-community-server:8.0.11-ubi9

linux/amd64 docker.io1.22GB2025-07-14 14:38
920

docker.io/mongodb/mongodb-community-server:8.0.12-ubuntu2204

linux/amd64 docker.io1.33GB2025-07-24 17:28
705

docker.io/mongodb/mongodb-community-server:8.0.13-ubuntu2204

linux/amd64 docker.io1.33GB2025-09-05 12:20
561

docker.io/mongodb/mongodb-community-server:8.0.17-ubi9

linux/amd64 docker.io1.25GB2026-01-26 12:24
487

docker.io/mongodb/mongodb-community-server:8.0.28-ubi8-slim

linux/arm64 docker.io588.34MB2026-08-10 17:36
153

docker.io/mongodb/mongodb-community-server:8.0.29-ubi8-slim

linux/amd64 docker.io608.60MB2026-08-28 20:25
144

docker.io/mongodb/mongodb-community-server:8.0.34-ubi8-slim

linux/amd64 docker.io609.04MB2026-10-18 06:57
62

docker.io/mongodb/mongodb-community-server:8.0.6-ubi8

linux/amd64 docker.io1.21GB2025-06-10 18:02
558

docker.io/mongodb/mongodb-community-server:8.0.6-ubi8

linux/arm64 docker.io1.19GB2025-06-10 18:06
866

docker.io/mongodb/mongodb-community-server:8.0.9-ubi8

linux/amd64 docker.io1.21GB2025-06-07 09:41
860

docker.io/mongodb/mongodb-community-server:8.2-ubi8

linux/amd64 docker.io1.25GB2025-12-05 22:25
688

docker.io/mongodb/mongodb-community-server:8.2.1-rc1-ubi8

linux/amd64 docker.io1.22GB2025-09-26 19:00
699

docker.io/mongodb/mongodb-community-server:8.2.1-rc1-ubi8

linux/arm64 docker.io1.20GB2025-09-26 19:03
611

docker.io/mongodb/mongodb-community-server:8.2.1-rc1-ubuntu2204

linux/amd64 docker.io1.34GB2025-10-10 07:35
592

docker.io/mongodb/mongodb-community-server:8.2.1-ubuntu2204

linux/amd64 docker.io1.34GB2025-12-22 11:02
2013

docker.io/mongodb/mongodb-community-server:8.2.2-ubuntu2204

linux/amd64 docker.io1.35GB2026-01-05 16:25
624

docker.io/mongodb/mongodb-community-server:8.2.3-ubuntu2204

linux/amd64 docker.io1.34GB2026-01-05 16:28
1688

docker.io/mongodb/mongodb-community-server:8.2.6-ubuntu2204-slim

linux/amd64 docker.io722.26MB2026-04-01 15:57
614

docker.io/mongodb/mongodb-community-server:9.0-ubi9-slim

linux/amd64 docker.io735.94MB2026-11-04 19:30
13

docker.io/mongodb/mongodb-community-server:latest

linux/amd64 docker.io1.35GB2025-12-22 10:12
889
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×