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

docker.io/mongodb/mongodb-community-server:8.0.1-ubi8 - 国内下载镜像源 浏览次数:8

MongoDB 社区版服务器

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

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

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

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

源镜像 docker.io/mongodb/mongodb-community-server:8.0.1-ubi8
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:8.0.1-ubi8
镜像ID sha256:37ddffa05f37b127512529d2fd6714582f994222fa7e96fd1fe4d4635dd34869
镜像TAG 8.0.1-ubi8
大小 1.21GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mongod
启动入口 python3 /usr/local/bin/docker-entrypoint.py
工作目录 /
OS/平台 linux/amd64
浏览量 8 次
贡献者 15********2@163.com
镜像创建 2025-07-11T06:17:33.658876243Z
同步时间 2025-12-26 11:22
更新时间 2025-12-26 13:10
开放端口
27017/tcp
目录挂载
/data/configdb /data/db
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin container=oci HOME=/data/db
镜像标签
x86_64: architecture 2025-07-09T14:01:30: build-date ubi8-container: com.redhat.component https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI: com.redhat.license_terms Container configured with a standalone instance of MongoDB: description public: distribution-scope 1.41.0-dev: 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 8: io.k8s.display-name : io.openshift.expose-services base rhel8: io.openshift.tags support@mongodb.com: maintainer MongoDB Standalone: name 1752069635: release MongoDB Standalone Container: summary https://www.redhat.com: url 6894a3fba76acfb2bcf2647e504d4e32f8f32cfc: vcs-ref git: vcs-type MongoDB: vendor 8.0.1: version

Docker拉取命令

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

Containerd拉取命令

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

Shell快速替换命令

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

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

镜像构建历史


# 2025-07-11 14:17:33  0.00B 设置默认要执行的命令
CMD ["mongod"]
                        
# 2025-07-11 14:17:33  0.00B 声明容器运行时监听的端口
EXPOSE map[27017/tcp:{}]
                        
# 2025-07-11 14:17:33  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["python3" "/usr/local/bin/docker-entrypoint.py"]
                        
# 2025-07-11 14:17:33  0.00B 指定运行容器时使用的用户
USER mongod
                        
# 2025-07-11 14:17:33  0.00B 设置环境变量 HOME
ENV HOME=/data/db
                        
# 2025-07-11 14:17:33  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/data/db /data/configdb]
                        
# 2025-07-11 14:17:33  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
                        
# 2025-07-11 14:17:33  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
                        
# 2025-07-11 14:17:33  0.00B 定义构建参数
ARG HOST_GID
                        
# 2025-07-11 14:17:33  0.00B 定义构建参数
ARG HOST_UID
                        
# 2025-07-11 14:17:33  0.00B 添加元数据标签
LABEL name=MongoDB Standalone version=8.0.1 summary=MongoDB Standalone Container description=Container configured with a standalone instance of MongoDB vendor=MongoDB maintainer=support@mongodb.com
                        
# 2025-07-11 14:17:29  22.06KB 复制新文件或目录到容器中
COPY docker-entrypoint.py /usr/local/bin/docker-entrypoint.py # buildkit
                        
# 2025-07-11 14:17:29  155.00B 复制新文件或目录到容器中
COPY LICENSE /licenses # buildkit
                        
# 2025-07-11 14:17:29  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p licenses # buildkit
                        
# 2025-07-11 14:17:29  49.82MB 执行命令并创建新的镜像层
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
                        
# 2025-07-11 14:17:23  961.71MB 执行命令并创建新的镜像层
RUN /bin/sh -c dnf update -y --setopt=install_weak_deps=0 &&     dnf install -y --setopt=install_weak_deps=0     mongodb-org-8.0.1 mongodb-org-database-8.0.1     mongodb-org-server-8.0.1     mongodb-org-mongos-8.0.1 mongodb-org-tools-8.0.1     python3 python3-devel python3-pip gcc wget     hostname nss_wrapper procps &&     dnf clean all # buildkit
                        
# 2025-07-11 14:16:54  203.00B 复制新文件或目录到容器中
COPY mongodb-org.repo /etc/yum.repos.d/ # buildkit
                        
# 2025-07-11 14:16:54  0.00B 添加元数据标签
LABEL name=MongoDB Base version=8.0.1 summary=MongoDB Base Container description=Container with all MongoDB packages installed vendor=MongoDB maintainer=support@mongodb.com
                        
# 2025-07-09 22:01:58  197.98MB 
/bin/sh -c #(nop) LABEL "build-date"="2025-07-09T14:01:30" "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="6894a3fba76acfb2bcf2647e504d4e32f8f32cfc" "release"="1752069635"
                        
# 2025-07-09 22:01:57  0.00B 
/bin/sh -c #(nop) COPY file:4fc2b85d4b7e8ce5ef1064a117c7b15bf152228d41e9d1f60b4cd3533a999046 in /usr/share/buildinfo/content-sets.json    
                        
# 2025-07-09 22:01:57  0.00B 
/bin/sh -c #(nop) CMD ["/bin/bash"]
                        
# 2025-07-09 22:01:57  0.00B 
/bin/sh -c #(nop) COPY file:afdf9d7142d806831a8f0b36122a4294ffe97fb9463ad8299eef9d7acd444874 in /etc/yum.repos.d/.    
                        
# 2025-07-09 22:01:57  0.00B 
/bin/sh -c #(nop) COPY dir:d17ac3a59cc1accf713eb4375bc827fec3b42cbfc511ef56bd3e9f9661719708 in /    
                        
# 2025-07-09 22:01:55  0.00B 
/bin/sh -c #(nop) ENV container oci
                        
# 2025-07-09 22:01:55  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.tags="base rhel8"
                        
# 2025-07-09 22:01:55  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
                        
# 2025-07-09 22:01:55  0.00B 
/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 8"
                        
# 2025-07-09 22:01:55  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."
                        
# 2025-07-09 22:01:55  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."
                        
# 2025-07-09 22:01:55  0.00B 
/bin/sh -c #(nop) LABEL summary="Provides the latest release of Red Hat Universal Base Image 8."
                        
# 2025-07-09 22:01:55  0.00B 
/bin/sh -c #(nop) LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
                        
# 2025-07-09 22:01:55  0.00B 
/bin/sh -c #(nop) LABEL com.redhat.component="ubi8-container"       name="ubi8"       version="8.10"       distribution-scope="public"
                        
# 2025-07-09 22:01:55  0.00B 
/bin/sh -c #(nop) LABEL url="https://www.redhat.com"
                        
# 2025-07-09 22:01:55  0.00B 
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc."       vendor="Red Hat, Inc."
                        
                    

镜像信息

{
    "Id": "sha256:37ddffa05f37b127512529d2fd6714582f994222fa7e96fd1fe4d4635dd34869",
    "RepoTags": [
        "mongodb/mongodb-community-server:8.0.1-ubi8",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:8.0.1-ubi8"
    ],
    "RepoDigests": [
        "mongodb/mongodb-community-server@sha256:94fcc244ea8b67760d0348a39b1fa6dc37a91ad98fe4bc091b3f2ff9effab675",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server@sha256:81ecce7a3870234bfbfb6270b4ebeb2df0ad1b5789a73757e9ee6806fd4c1833"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-07-11T06:17:33.658876243Z",
    "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"
        ],
        "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": "2025-07-09T14:01:30",
            "com.redhat.component": "ubi8-container",
            "com.redhat.license_terms": "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI",
            "description": "Container configured with a standalone instance of MongoDB",
            "distribution-scope": "public",
            "io.buildah.version": "1.41.0-dev",
            "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 8",
            "io.openshift.expose-services": "",
            "io.openshift.tags": "base rhel8",
            "maintainer": "support@mongodb.com",
            "name": "MongoDB Standalone",
            "release": "1752069635",
            "summary": "MongoDB Standalone Container",
            "url": "https://www.redhat.com",
            "vcs-ref": "6894a3fba76acfb2bcf2647e504d4e32f8f32cfc",
            "vcs-type": "git",
            "vendor": "MongoDB",
            "version": "8.0.1"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 1209535119,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/03aa47249f3e0e359c0952838c73eea0fd12a7e13c734edb75444f35ee441418/diff:/var/lib/docker/overlay2/86d2ad485face52a09bf37ef2a24cbd31d141b45160e9814af6e23a58e1e79e2/diff:/var/lib/docker/overlay2/16996b415443cc6af12b595aa3470037c2c6752cae59dc64432fc03d51575063/diff:/var/lib/docker/overlay2/95a5a7dabf4f8e14f50e136af7931274c47ffca33c8874f26ebd9244a6b90f80/diff:/var/lib/docker/overlay2/d1bfcb2b49a16f94d295e2c0335b61939aa218d0a0df88a4d62b833271eca089/diff:/var/lib/docker/overlay2/4e87b42b95fe11feecf61c7649a93c701869507a29c422b621b674d4c235d7d7/diff:/var/lib/docker/overlay2/5efd6e94d47826b57e6e6600666354fd90496391b117f8ddd56a5637bc4f1835/diff:/var/lib/docker/overlay2/24d6e5af3d2fbedd2d6ea2cb928d44c424de1974b740c23efc93855405470955/diff",
            "MergedDir": "/var/lib/docker/overlay2/53235b5254cda26bc8a53f07c0c65f749f7f285d61e0158ad651cd89d5e55e79/merged",
            "UpperDir": "/var/lib/docker/overlay2/53235b5254cda26bc8a53f07c0c65f749f7f285d61e0158ad651cd89d5e55e79/diff",
            "WorkDir": "/var/lib/docker/overlay2/53235b5254cda26bc8a53f07c0c65f749f7f285d61e0158ad651cd89d5e55e79/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:93cd51feeb40d97d594fb52e25579ac270de074e63a905ec38daa65fd9415a1d",
            "sha256:e9222686ac97bb53f8a0437cb79991aa6fac2eee6be846e5c7cab1ce40a24cfa",
            "sha256:b7ffa827215a5fb2d215a0125fa20a077419641d410f90750d1c33950d04f174",
            "sha256:2adddcb7a0732c00c3fee73745b3d3b6ea3972b8364b779f7bffe9380373af4b",
            "sha256:628bf9f75bbf011afc1a435b952afaf22994420fa95c4f47d1246950355d8121",
            "sha256:e703bf70fbb1a0b50234a18ecb875274a630b24121aace50fbc9e4e29f2fea6c",
            "sha256:59058372733cb985579e420cfeb5be20efd6aae07d9d7f8a292ce9cfc69b8675",
            "sha256:b803de0f289d8545c839ce20f8f84f952b3c28cfe0d32c7985bfedca785a43c5",
            "sha256:2423898469283bcb418234da01a2bcd54abf88ef9bba79d173f70127b94a6765"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-12-26T11:21:55.459165635+08:00"
    }
}

更多版本

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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