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

docker.io/mongodb/mongodb-community-server:8.0.17-ubi9 - 国内下载镜像源 浏览次数:18

MongoDB 社区版服务器

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

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

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

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

源镜像 docker.io/mongodb/mongodb-community-server:8.0.17-ubi9
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:8.0.17-ubi9
镜像ID sha256:dee14d4e52e5b2322d41f339bfc9525258ef4c2693cbd3300a412cad9c9c66dc
镜像TAG 8.0.17-ubi9
大小 1.25GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mongod
启动入口 python3 /usr/local/bin/docker-entrypoint.py
工作目录 /
OS/平台 linux/amd64
浏览量 18 次
贡献者 di**k@qq.com
镜像创建 2026-01-25T06:19:19.865833126Z
同步时间 2026-01-26 12:24
更新时间 2026-01-27 19:12
开放端口
27017/tcp
目录挂载
/data/configdb /data/db
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin container=oci HOME=/data/db GLIBC_TUNABLES=glibc.pthread.rseq=0
镜像标签
x86_64: architecture 2026-01-19T01:20:22Z: build-date ubi9-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.41.5: io.buildah.version The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.: io.k8s.description Red Hat Universal Base Image 9: io.k8s.display-name : io.openshift.expose-services base rhel9: io.openshift.tags support@mongodb.com: maintainer MongoDB Standalone: name 2026-01-19T01:20:22Z: org.opencontainers.image.created 249f048c4fbf9f59b53d0ec3a7207b48514bb57d: org.opencontainers.image.revision 1768785530: release MongoDB Standalone Container: summary https://catalog.redhat.com/en/search?searchType=containers: url 249f048c4fbf9f59b53d0ec3a7207b48514bb57d: vcs-ref git: vcs-type MongoDB: vendor 8.0.17: version

Docker拉取命令

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

Containerd拉取命令

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

Shell快速替换命令

sed -i 's#mongodb/mongodb-community-server:8.0.17-ubi9#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:8.0.17-ubi9#' 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.17-ubi9 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:8.0.17-ubi9  docker.io/mongodb/mongodb-community-server:8.0.17-ubi9'

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.17-ubi9 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:8.0.17-ubi9  docker.io/mongodb/mongodb-community-server:8.0.17-ubi9'

镜像构建历史


# 2026-01-25 14:19:19  0.00B 设置默认要执行的命令
CMD ["mongod"]
                        
# 2026-01-25 14:19:19  0.00B 声明容器运行时监听的端口
EXPOSE map[27017/tcp:{}]
                        
# 2026-01-25 14:19:19  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["python3" "/usr/local/bin/docker-entrypoint.py"]
                        
# 2026-01-25 14:19:19  0.00B 设置环境变量 GLIBC_TUNABLES
ENV GLIBC_TUNABLES=glibc.pthread.rseq=0
                        
# 2026-01-25 14:19:19  0.00B 指定运行容器时使用的用户
USER mongod
                        
# 2026-01-25 14:19:19  0.00B 设置环境变量 HOME
ENV HOME=/data/db
                        
# 2026-01-25 14:19:19  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/data/db /data/configdb]
                        
# 2026-01-25 14:19:19  0.00B 执行命令并创建新的镜像层
RUN |2 HOST_UID= HOST_GID= /bin/sh -c mkdir -p /data/db /data/configdb     && chown -R mongod:mongod /data/db /data/configdb # buildkit
                        
# 2026-01-25 14:19:19  0.00B 执行命令并创建新的镜像层
RUN |2 HOST_UID= HOST_GID= /bin/sh -c if [ -n "${HOST_UID}" ]; then usermod -u ${HOST_UID} mongod; fi;     if [ -n "${HOST_GID}" ]; then groupmod -g ${HOST_GID} mongod; fi # buildkit
                        
# 2026-01-25 14:19:19  0.00B 定义构建参数
ARG HOST_GID
                        
# 2026-01-25 14:19:19  0.00B 定义构建参数
ARG HOST_UID
                        
# 2026-01-25 14:19:19  0.00B 添加元数据标签
LABEL name=MongoDB Standalone version=8.0.17 summary=MongoDB Standalone Container description=Container configured with a standalone instance of MongoDB vendor=MongoDB maintainer=support@mongodb.com
                        
# 2026-01-25 14:19:15  27.71KB 复制新文件或目录到容器中
COPY docker-entrypoint.py /usr/local/bin/docker-entrypoint.py # buildkit
                        
# 2026-01-25 14:19:15  155.00B 复制新文件或目录到容器中
COPY LICENSE /licenses # buildkit
                        
# 2026-01-25 14:19:15  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p licenses # buildkit
                        
# 2026-01-25 14:19:15  40.11MB 执行命令并创建新的镜像层
RUN /bin/sh -c bash -c "python3 -m pip install --upgrade pip wheel && python3 -m pip install pyyaml psutil && dnf remove -y gcc python3-devel python3-requests" # buildkit
                        
# 2026-01-25 14:19:10  998.22MB 执行命令并创建新的镜像层
RUN /bin/sh -c dnf update -y --setopt=install_weak_deps=0 &&     dnf install -y --setopt=install_weak_deps=0 --skip-broken    mongodb-org-8.0.17 mongodb-org-database-8.0.17     mongodb-org-server-8.0.17     mongodb-org-mongos-8.0.17 mongodb-org-tools-8.0.17     python3 python3-devel python3-pip gcc wget     hostname nss_wrapper procps &&     dnf clean all # buildkit
                        
# 2026-01-25 14:18:47  203.00B 复制新文件或目录到容器中
COPY mongodb-org.repo /etc/yum.repos.d/ # buildkit
                        
# 2026-01-25 14:18:47  0.00B 添加元数据标签
LABEL name=MongoDB Base version=8.0.17 summary=MongoDB Base Container description=Container with all MongoDB packages installed vendor=MongoDB maintainer=support@mongodb.com
                        
# 2026-01-19 09:20:48  210.87MB 
/bin/sh -c #(nop) LABEL "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="249f048c4fbf9f59b53d0ec3a7207b48514bb57d" "org.opencontainers.image.revision"="249f048c4fbf9f59b53d0ec3a7207b48514bb57d" "build-date"="2026-01-19T01:20:22Z" "org.opencontainers.image.created"="2026-01-19T01:20:22Z" "release"="1768785530"org.opencontainers.image.revision=249f048c4fbf9f59b53d0ec3a7207b48514bb57d,org.opencontainers.image.created=2026-01-19T01:20:22Z
                        
# 2026-01-19 09:20:47  0.00B 
/bin/sh -c #(nop) COPY file:3061eaddef33c41c04e624568147fb5b4250a46ea5b36128b17b1c3229871931 in /root/buildinfo/labels.json      
                        
# 2026-01-19 09:20:47  0.00B 
/bin/sh -c #(nop) COPY file:3061eaddef33c41c04e624568147fb5b4250a46ea5b36128b17b1c3229871931 in /usr/share/buildinfo/labels.json      
                        
# 2026-01-19 09:20:47  0.00B 
/bin/sh -c #(nop) COPY file:93583a9ebbaeff1e36b48820b647eea1eef523f6627dacfb0b21af79f5a41b35 in /root/buildinfo/content_manifests/content-sets.json      
                        
# 2026-01-19 09:20:47  0.00B 
/bin/sh -c #(nop) COPY file:93583a9ebbaeff1e36b48820b647eea1eef523f6627dacfb0b21af79f5a41b35 in /usr/share/buildinfo/content-sets.json      
                        
# 2026-01-19 09:20:47  0.00B 
/bin/sh -c #(nop) CMD ["/bin/bash"]
                        
# 2026-01-19 09:20:47  0.00B 
/bin/sh -c #(nop) COPY file:1376702515d596f414e3aa494e0daa6d408a6d2475c4aeca96bf9392f5287f69 in /etc/yum.repos.d/.      
                        
# 2026-01-19 09:20:47  0.00B 
/bin/sh -c #(nop) COPY dir:2c6e769d335c9d26845aacc981c18184c9e7e6f73257f93edb03bafdefeee976 in /      
                        
# 2026-01-19 09:20:45  0.00B 
/bin/sh -c #(nop) ENV container oci
                        
# 2026-01-19 09:20:45  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.tags="base rhel9"
                        
# 2026-01-19 09:20:45  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
                        
# 2026-01-19 09:20:45  0.00B 
/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 9"
                        
# 2026-01-19 09:20:45  0.00B 
/bin/sh -c #(nop) LABEL io.k8s.description="The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly."
                        
# 2026-01-19 09:20:45  0.00B 
/bin/sh -c #(nop) LABEL description="The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly."
                        
# 2026-01-19 09:20:45  0.00B 
/bin/sh -c #(nop) LABEL summary="Provides the latest release of Red Hat Universal Base Image 9."
                        
# 2026-01-19 09:20:45  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-01-19 09:20:44  0.00B 
/bin/sh -c #(nop) LABEL com.redhat.component="ubi9-container"       name="ubi9/ubi"       version="9.7"       cpe="cpe:/a:redhat:enterprise_linux:9::appstream"       distribution-scope="public"
                        
# 2026-01-19 09:20:44  0.00B 
/bin/sh -c #(nop) LABEL url="https://catalog.redhat.com/en/search?searchType=containers"
                        
# 2026-01-19 09:20:44  0.00B 
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc."       vendor="Red Hat, Inc."
                        
                    

镜像信息

{
    "Id": "sha256:dee14d4e52e5b2322d41f339bfc9525258ef4c2693cbd3300a412cad9c9c66dc",
    "RepoTags": [
        "mongodb/mongodb-community-server:8.0.17-ubi9",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:8.0.17-ubi9"
    ],
    "RepoDigests": [
        "mongodb/mongodb-community-server@sha256:9905955c5e256352c47401d22f38e5de3281843bfa6f51b3a61dcad5c1725157",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server@sha256:46ca9f568353b81edaebb0d54d65c3726f976fafb9d20de9f44cde0cf4a63c9a"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2026-01-25T06:19:19.865833126Z",
    "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",
            "container=oci",
            "HOME=/data/db",
            "GLIBC_TUNABLES=glibc.pthread.rseq=0"
        ],
        "Cmd": [
            "mongod"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/data/configdb": {},
            "/data/db": {}
        },
        "WorkingDir": "/",
        "Entrypoint": [
            "python3",
            "/usr/local/bin/docker-entrypoint.py"
        ],
        "OnBuild": null,
        "Labels": {
            "architecture": "x86_64",
            "build-date": "2026-01-19T01:20:22Z",
            "com.redhat.component": "ubi9-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.41.5",
            "io.k8s.description": "The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly.",
            "io.k8s.display-name": "Red Hat Universal Base Image 9",
            "io.openshift.expose-services": "",
            "io.openshift.tags": "base rhel9",
            "maintainer": "support@mongodb.com",
            "name": "MongoDB Standalone",
            "org.opencontainers.image.created": "2026-01-19T01:20:22Z",
            "org.opencontainers.image.revision": "249f048c4fbf9f59b53d0ec3a7207b48514bb57d",
            "release": "1768785530",
            "summary": "MongoDB Standalone Container",
            "url": "https://catalog.redhat.com/en/search?searchType=containers",
            "vcs-ref": "249f048c4fbf9f59b53d0ec3a7207b48514bb57d",
            "vcs-type": "git",
            "vendor": "MongoDB",
            "version": "8.0.17"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 1249219106,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/5ab211c90b55141c75102c9c9f1efa9ac8d985aa47d6a6ff528958be69418d55/diff:/var/lib/docker/overlay2/c0d75d449c6e5dec38380dfec3fcb1886ed88303519677092fe3199fcd895c58/diff:/var/lib/docker/overlay2/e8f83c7ca7156e95ae592f29bb887bba02ebddedd4dfdd462cf49f1f1ee5d31e/diff:/var/lib/docker/overlay2/bf707674dbf614396f549c14f6352ccf3f8f9f83bcfe0edbfb394994d56aa7f7/diff:/var/lib/docker/overlay2/9da3cd425f5e3295969e9dd1ba4bb70be880c25dcb93b6345bcfd46f5e8f66ac/diff:/var/lib/docker/overlay2/4d0bbf1a635cd1f51d9c4590a0966f16ffcf757923d706464018bd4d7473a5c4/diff:/var/lib/docker/overlay2/f075a5aa7c2f40b82e3ca666b884a4ce77540239d86b96ef1065a9a787189f6e/diff:/var/lib/docker/overlay2/2d0dbcb5d6a32c0ab304921293be7247ba0c628f26296f56c40f381a55a9164d/diff",
            "MergedDir": "/var/lib/docker/overlay2/7f0aef1b3ce03114148df298128c83046ac6c579a739aaef6f3b80c82075c214/merged",
            "UpperDir": "/var/lib/docker/overlay2/7f0aef1b3ce03114148df298128c83046ac6c579a739aaef6f3b80c82075c214/diff",
            "WorkDir": "/var/lib/docker/overlay2/7f0aef1b3ce03114148df298128c83046ac6c579a739aaef6f3b80c82075c214/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:14b4e402eaeadad53c80a89552e3ad928a4263d00de662594eb923d3b0f5e44a",
            "sha256:a4ba40eeea71c6a00cf335219f249f2728b0c7d671c2e29197fdcd6b0817dd1a",
            "sha256:94e66fd532ea29a45ebdcb8f201b90ed24d65959debc31898f96f6f7edbf1d84",
            "sha256:5a0853125771557881d9cdfdb5388a57a8a548233d6370fc39118e437c8cb6e7",
            "sha256:4ad87ebe0522f0174a3b17bf77a33d58eade91fca1f8609463d9db1cd45344ae",
            "sha256:9b942556d054e45892fd42dfbe1c4ec685b26a93d09f05a36a7564d94d10979c",
            "sha256:611b492f1704491e9e95cf54ba02b99f22794e1ebe30c30766368d589398181b",
            "sha256:0de989a2adca778c2621f85a4e8730a834c100834a7019250036b544dccafd7a",
            "sha256:45ced2dd450e807502f79282f14d0dfa0d97821e0a5d729445bf0f7e2b73052a"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-01-26T12:23:23.815919732+08:00"
    }
}

更多版本

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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