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

MongoDB 社区版服务器

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

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

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

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

9
浏览次数
608.60MB
镜像大小
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:8.0.29-ubi8-slim
源镜像
docker.io/mongodb/mongodb-community-server:8.0.29-ubi8-slim
镜像ID
sha256:f05888705d432e4d6932d994b1229beb3d7e39a71c789d731bf68975f02bea68
镜像 TAG
8.0.29-ubi8-slim
镜像大小
608.60MB
平台架构
linux/amd64
镜像源
docker.io
CMD
mongod
启动入口
/usr/local/bin/docker-entrypoint
工作目录
/
OS/平台
linux/amd64
镜像创建
2026-08-28T06:25:17.744446978Z
同步时间
2026-08-28 20:25
浏览量
9 次
贡献者
🔌 开放端口 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-08-18T19:33:24Z build-date
ubi8-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:8::appstream cpe
Container configured with a standalone instance of MongoDB description
public distribution-scope
1.44.0 io.buildah.version
Very small image which doesn't install the package manager. io.k8s.description
Red Hat Universal Base Image 8 Micro io.k8s.display-name
io.openshift.expose-services
support@mongodb.com maintainer
MongoDB Standalone name
2026-08-18T19:33:24Z org.opencontainers.image.created
7200b6e4356b94e00c0b71c6f5e13d34d6e0c2a2 org.opencontainers.image.revision
1787081506 release
MongoDB Standalone Container summary
https://catalog.redhat.com/en/search?searchType=containers url
7200b6e4356b94e00c0b71c6f5e13d34d6e0c2a2 vcs-ref
git vcs-type
MongoDB vendor
8.0.29 version
🛡️ 镜像安全扫描
redhat 8.10 Trivy 2026-08-28 20:25 查看完整报告
25
低危 LOW
20
中危 MEDIUM
0
高危 HIGH
0
严重 CRITICAL
受影响目标 (1)
docker.io/mongodb/mongodb-community-server:8.0.29-ubi8-slim (redhat 8.10) redhat

Docker拉取命令

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

Containerd拉取命令

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

Shell快速替换命令

sed -i 's#mongodb/mongodb-community-server:8.0.29-ubi8-slim#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:8.0.29-ubi8-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:8.0.29-ubi8-slim && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:8.0.29-ubi8-slim  docker.io/mongodb/mongodb-community-server:8.0.29-ubi8-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:8.0.29-ubi8-slim && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:8.0.29-ubi8-slim  docker.io/mongodb/mongodb-community-server:8.0.29-ubi8-slim'

镜像构建历史


# 2026-08-28 14:25:17  0.00B 设置默认要执行的命令
CMD ["mongod"]
                        
# 2026-08-28 14:25:17  0.00B 声明容器运行时监听的端口
EXPOSE map[27017/tcp:{}]
                        
# 2026-08-28 14:25:17  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/usr/local/bin/docker-entrypoint"]
                        
# 2026-08-28 14:25:17  0.00B 设置环境变量 GLIBC_TUNABLES
ENV GLIBC_TUNABLES=glibc.pthread.rseq=0
                        
# 2026-08-28 14:25:17  0.00B 指定运行容器时使用的用户
USER mongod
                        
# 2026-08-28 14:25:17  0.00B 设置环境变量 HOME
ENV HOME=/data/db
                        
# 2026-08-28 14:25:17  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/data/db /data/configdb]
                        
# 2026-08-28 14:25:17  0.00B 复制新文件或目录到容器中
COPY /data /data # buildkit
                        
# 2026-08-28 14:25:17  433.00B 复制新文件或目录到容器中
COPY /etc/group /etc/group # buildkit
                        
# 2026-08-28 14:25:17  802.00B 复制新文件或目录到容器中
COPY /etc/passwd /etc/passwd # buildkit
                        
# 2026-08-28 14:25:17  155.00B 复制新文件或目录到容器中
COPY /licenses /licenses # buildkit
                        
# 2026-08-28 14:25:17  172.89MB 复制新文件或目录到容器中
COPY /usr/bin/mongos /usr/bin/mongos # buildkit
                        
# 2026-08-28 14:25:17  169.15MB 复制新文件或目录到容器中
COPY /usr/bin/mongosh /usr/bin/mongosh # buildkit
                        
# 2026-08-28 14:25:17  222.86MB 复制新文件或目录到容器中
COPY /usr/bin/mongod /usr/bin/mongod # buildkit
                        
# 2026-08-28 14:25:17  14.29MB 复制新文件或目录到容器中
COPY /libs/ /usr/lib64/ # buildkit
                        
# 2026-08-28 14:25:17  4.21MB 复制新文件或目录到容器中
COPY /docker-entrypoint/target/release/docker-entrypoint /usr/local/bin/docker-entrypoint # buildkit
                        
# 2026-08-28 14:25:17  0.00B 添加元数据标签
LABEL name=MongoDB Standalone version=8.0.29 summary=MongoDB Standalone Container description=Container configured with a standalone instance of MongoDB vendor=MongoDB maintainer=support@mongodb.com
                        
# 2026-08-19 03:33:34  25.20MB 
/bin/sh -c #(nop) LABEL "org.opencontainers.image.created"="2026-08-18T19:33:24Z" "org.opencontainers.image.revision"="7200b6e4356b94e00c0b71c6f5e13d34d6e0c2a2" "build-date"="2026-08-18T19:33:24Z" "architecture"="x86_64" "vcs-ref"="7200b6e4356b94e00c0b71c6f5e13d34d6e0c2a2" "vcs-type"="git" "release"="1787081506"org.opencontainers.image.created=2026-08-18T19:33:24Z,org.opencontainers.image.revision=7200b6e4356b94e00c0b71c6f5e13d34d6e0c2a2
                        
# 2026-08-19 03:33:34  0.00B 
/bin/sh -c #(nop) COPY dir:df6f0acdb3efa285350e927e00ceecc788016f4ec81248daa48c69c0b5261793 in /root/buildinfo/      
                        
# 2026-08-19 03:33:34  0.00B 
/bin/sh -c #(nop) COPY dir:df6f0acdb3efa285350e927e00ceecc788016f4ec81248daa48c69c0b5261793 in /usr/share/buildinfo/      
                        
# 2026-08-19 03:33:34  0.00B 
/bin/sh -c #(nop) CMD /bin/sh
                        
# 2026-08-19 03:33:34  0.00B 
/bin/sh -c #(nop) COPY file:67f65df33ff6c09984969b192c50b78072a88c5655e380e734315d0229c75aa1 in /etc/yum.repos.d/      
                        
# 2026-08-19 03:33:34  0.00B 
/bin/sh -c #(nop) COPY dir:0db1a2bd1b2d111d752a12c0fdd654a43e450c6d26f7ed650cce7022f026614a in /      
                        
# 2026-08-19 03:33:34  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
                        
# 2026-08-19 03:33:34  0.00B 
/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 8 Micro"
                        
# 2026-08-19 03:33:34  0.00B 
/bin/sh -c #(nop) LABEL io.k8s.description="Very small image which doesn't install the package manager."
                        
# 2026-08-19 03:33:34  0.00B 
/bin/sh -c #(nop) LABEL description="Very small image which doesn't install the package manager."
                        
# 2026-08-19 03:33:34  0.00B 
/bin/sh -c #(nop) LABEL summary="ubi8 micro image"
                        
# 2026-08-19 03:33:34  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-08-19 03:33:34  0.00B 
/bin/sh -c #(nop) LABEL distribution-scope="public"
                        
# 2026-08-19 03:33:34  0.00B 
/bin/sh -c #(nop) LABEL cpe="cpe:/a:redhat:enterprise_linux:8::appstream"
                        
# 2026-08-19 03:33:34  0.00B 
/bin/sh -c #(nop) LABEL version="8.10"
                        
# 2026-08-19 03:33:34  0.00B 
/bin/sh -c #(nop) LABEL name="ubi8/ubi-micro"
                        
# 2026-08-19 03:33:34  0.00B 
/bin/sh -c #(nop) LABEL com.redhat.component="ubi8-micro-container"
                        
# 2026-08-19 03:33:34  0.00B 
/bin/sh -c #(nop) LABEL url="https://catalog.redhat.com/en/search?searchType=containers"
                        
# 2026-08-19 03:33:34  0.00B 
/bin/sh -c #(nop) LABEL vendor="Red Hat, Inc."
                        
# 2026-08-19 03:33:34  0.00B 
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc."
                        
                    

镜像信息

{
    "Id": "sha256:f05888705d432e4d6932d994b1229beb3d7e39a71c789d731bf68975f02bea68",
    "RepoTags": [
        "mongodb/mongodb-community-server:8.0.29-ubi8-slim",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:8.0.29-ubi8-slim"
    ],
    "RepoDigests": [
        "mongodb/mongodb-community-server@sha256:8a1718bb363358dda060fed72a4d48dfd58915b441056f1974d82ace14261697",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server@sha256:bfbf8a414dc39f768b3a18a422fa7889ae46cc23740c4c0be66c9afd014be7eb"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2026-08-28T06:25:17.744446978Z",
    "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-08-18T19:33:24Z",
            "com.redhat.component": "ubi8-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:8::appstream",
            "description": "Container configured with a standalone instance of MongoDB",
            "distribution-scope": "public",
            "io.buildah.version": "1.44.0",
            "io.k8s.description": "Very small image which doesn't install the package manager.",
            "io.k8s.display-name": "Red Hat Universal Base Image 8 Micro",
            "io.openshift.expose-services": "",
            "maintainer": "support@mongodb.com",
            "name": "MongoDB Standalone",
            "org.opencontainers.image.created": "2026-08-18T19:33:24Z",
            "org.opencontainers.image.revision": "7200b6e4356b94e00c0b71c6f5e13d34d6e0c2a2",
            "release": "1787081506",
            "summary": "MongoDB Standalone Container",
            "url": "https://catalog.redhat.com/en/search?searchType=containers",
            "vcs-ref": "7200b6e4356b94e00c0b71c6f5e13d34d6e0c2a2",
            "vcs-type": "git",
            "vendor": "MongoDB",
            "version": "8.0.29"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 608598505,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/32a537ee7d311f7723d54142430dbf6ebc2ec5e680ec09317f687f68a674a1cb/diff:/var/lib/docker/overlay2/3e8df1fd07fd84941aa9441a2f8d7fd6fe80ea486ea877ddaa824a9c4dead10f/diff:/var/lib/docker/overlay2/61c74ca75d9d6269f221b24b08292527bbbd82c0247496eee87e4aca60a159be/diff:/var/lib/docker/overlay2/1bf9d84fc15a5559a4dd5d312c3fc12482b134357ac1991436a823cd16e8a406/diff:/var/lib/docker/overlay2/3cd4d9f35407514f5226d5f82902373c631533629093ed2ed587eebec221b366/diff:/var/lib/docker/overlay2/680700479cc4c35497e125079118837b752485cb8f48445f6ebef5b90bdfb132/diff:/var/lib/docker/overlay2/5203d6dea1616be70429e9e91c04c025d23a754f05e7d380e112716476fa7860/diff:/var/lib/docker/overlay2/3eb58b9a7966cbe01bcc61aa9513c23779817a1e2b3b787b7be01265e654db59/diff:/var/lib/docker/overlay2/139a05968c9ec78033a3da2145b896fb1ca78f2c979b0fd59df7942bd2edcbb9/diff",
            "MergedDir": "/var/lib/docker/overlay2/36f957023dcf375a68b04e3fac5418f89ed7eb5255b9eaf6d14b5bd19bad6ea1/merged",
            "UpperDir": "/var/lib/docker/overlay2/36f957023dcf375a68b04e3fac5418f89ed7eb5255b9eaf6d14b5bd19bad6ea1/diff",
            "WorkDir": "/var/lib/docker/overlay2/36f957023dcf375a68b04e3fac5418f89ed7eb5255b9eaf6d14b5bd19bad6ea1/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:c508775a873489e04477cfd032f63fcfc3f60ce35c4bb0a9f595e0541f003a00",
            "sha256:aa1aede5494a309895402ff4c9fd28076ab8803026376b0e865ba48c709b99fa",
            "sha256:ab724200422c873cd6a854e08a5eab20abb0e9b7e2d0882f3b3796a40de0be05",
            "sha256:dd8ce4b72c8ea1efdb0b57b532a559721e5c8f4906caa933224db6dfd63f4708",
            "sha256:b0b1cdd584a4e928cad5761a6cbcd81a14ab7ee9d7b6a423bec36aba6b4c174f",
            "sha256:b3d16006219142468c0d4293c30cec1daf87c1072e17267b619c2cdc6e0aa55d",
            "sha256:21bb01b2440bad1eafcc45a7b09c96e18dbe09c5682b2c53df9ae5ae46dc5db2",
            "sha256:d6f7f37db96bc9410fc44aba694abf3c7dfa198524a3575e824f7763441bd0cc",
            "sha256:3f21e77490294602a132672206a9f5dea5a2261762f61fef7b39045304fa0340",
            "sha256:b6a2b7d0f6538b0252749e009b91ea29891862c2bcacabfb0f39593703502cf2"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-08-28T20:25:05.561555768+08:00"
    }
}

更多版本

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

linux/amd64 docker.io1.35GB2025-12-22 10:12
753

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

linux/amd64 docker.io608.60MB2026-08-28 20:25
8
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×