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

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

MongoDB 社区版服务器

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

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

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

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

源镜像 docker.io/mongodb/mongodb-community-server:8.0.10-ubi8
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:8.0.10-ubi8
镜像ID sha256:783b1669edc03b4845a09ec4306cf9c5ade8b61aa653bcd234ad3f19de1ccf5a
镜像TAG 8.0.10-ubi8
大小 1.22GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mongod
启动入口 python3 /usr/local/bin/docker-entrypoint.py
工作目录
OS/平台 linux/amd64
浏览量 7 次
贡献者
镜像创建 2025-06-25T06:19:46.586770887Z
同步时间 2025-06-26 10:46
更新时间 2025-06-26 13:55
开放端口
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-06-11T22:26:31: 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.33.12: 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 1304.1749680715: release MongoDB Standalone Container: summary https://access.redhat.com/containers/#/registry.access.redhat.com/ubi8/images/8.10-1304.1749680715: url 967861a8dbbb288b8cec9f1fee7ccbf6c7ee9a20: vcs-ref git: vcs-type MongoDB: vendor 8.0.10: version

Docker拉取命令

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

Containerd拉取命令

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

Shell快速替换命令

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

镜像构建历史


# 2025-06-25 14:19:46  0.00B 设置默认要执行的命令
CMD ["mongod"]
                        
# 2025-06-25 14:19:46  0.00B 声明容器运行时监听的端口
EXPOSE map[27017/tcp:{}]
                        
# 2025-06-25 14:19:46  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["python3" "/usr/local/bin/docker-entrypoint.py"]
                        
# 2025-06-25 14:19:46  0.00B 指定运行容器时使用的用户
USER mongod
                        
# 2025-06-25 14:19:46  0.00B 设置环境变量 HOME
ENV HOME=/data/db
                        
# 2025-06-25 14:19:46  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/data/db /data/configdb]
                        
# 2025-06-25 14:19:46  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-06-25 14:19:46  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-06-25 14:19:46  0.00B 定义构建参数
ARG HOST_GID
                        
# 2025-06-25 14:19:46  0.00B 定义构建参数
ARG HOST_UID
                        
# 2025-06-25 14:19:46  0.00B 添加元数据标签
LABEL name=MongoDB Standalone version=8.0.10 summary=MongoDB Standalone Container description=Container configured with a standalone instance of MongoDB vendor=MongoDB maintainer=support@mongodb.com
                        
# 2025-06-25 14:19:42  22.06KB 复制新文件或目录到容器中
COPY docker-entrypoint.py /usr/local/bin/docker-entrypoint.py # buildkit
                        
# 2025-06-25 14:19:42  155.00B 复制新文件或目录到容器中
COPY LICENSE /licenses # buildkit
                        
# 2025-06-25 14:19:42  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p licenses # buildkit
                        
# 2025-06-25 14:19:42  49.44MB 执行命令并创建新的镜像层
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-06-25 14:19:37  964.60MB 执行命令并创建新的镜像层
RUN /bin/sh -c dnf update -y --setopt=install_weak_deps=0 &&     dnf install -y --setopt=install_weak_deps=0     mongodb-org-8.0.10 mongodb-org-database-8.0.10     mongodb-org-server-8.0.10     mongodb-org-mongos-8.0.10 mongodb-org-tools-8.0.10     python3 python3-devel python3-pip gcc wget     hostname nss_wrapper procps &&     dnf clean all # buildkit
                        
# 2025-06-25 14:19:08  203.00B 复制新文件或目录到容器中
COPY mongodb-org.repo /etc/yum.repos.d/ # buildkit
                        
# 2025-06-25 14:19:08  0.00B 添加元数据标签
LABEL name=MongoDB Base version=8.0.10 summary=MongoDB Base Container description=Container with all MongoDB packages installed vendor=MongoDB maintainer=support@mongodb.com
                        
# 2025-06-12 06:41:01  205.20MB 
/bin/sh -c mv -fZ /tmp/ubi.repo /etc/yum.repos.d/ubi.repo || :
                        
# 2025-06-12 06:40:59  0.00B 
/bin/sh -c rm -f /tmp/tls-ca-bundle.pem
                        
# 2025-06-12 06:40:58  0.00B 
/bin/sh -c rm -f '/etc/yum.repos.d/odcs-4236312-0d339.repo' '/etc/yum.repos.d/rhel-8.10-compose-0e878.repo'
                        
# 2025-06-12 06:40:58  0.00B 
/bin/sh -c #(nop) LABEL "release"="1304.1749680715" "distribution-scope"="public" "vendor"="Red Hat, Inc." "build-date"="2025-06-11T22:26:31" "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="967861a8dbbb288b8cec9f1fee7ccbf6c7ee9a20" "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." "url"="https://access.redhat.com/containers/#/registry.access.redhat.com/ubi8/images/8.10-1304.1749680715"
                        
# 2025-06-12 06:40:58  0.00B 
/bin/sh -c #(nop) ADD file:bae93aec7824f6714615e20d1190e051629a1f392a9af227f8c10d8e096d065a in /root/buildinfo/Dockerfile-ubi8-8.10-1304.1749680715 
                        
# 2025-06-12 06:40:58  0.00B 
/bin/sh -c #(nop) ADD file:210bad509e27920d3c02f8f239e0eca7c5390f4e2b241fd69e4de79b7e57d8ed in /root/buildinfo/content_manifests/ubi8-container-8.10-1304.1749680715.json 
                        
# 2025-06-12 06:40:57  0.00B 
/bin/sh -c mkdir -p /var/log/rhsm
                        
# 2025-06-12 06:40:57  0.00B 
/bin/sh -c rm -rf /var/log/*
                        
# 2025-06-12 06:40:56  0.00B 
/bin/sh -c #(nop) CMD ["/bin/bash"]
                        
# 2025-06-12 06:40:56  0.00B 
/bin/sh -c #(nop) ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2025-06-12 06:40:56  0.00B 
/bin/sh -c #(nop) ENV container oci
                        
# 2025-06-12 06:40:56  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.tags="base rhel8"
                        
# 2025-06-12 06:40:56  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
                        
# 2025-06-12 06:40:56  0.00B 
/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 8"
                        
# 2025-06-12 06:40:56  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-06-12 06:40:56  0.00B 
/bin/sh -c #(nop) LABEL summary="Provides the latest release of Red Hat Universal Base Image 8."
                        
# 2025-06-12 06:40:56  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-06-12 06:40:56  0.00B 
/bin/sh -c #(nop) LABEL com.redhat.component="ubi8-container"       name="ubi8"       version="8.10"
                        
# 2025-06-12 06:40:56  0.00B 
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc."
                        
# 2025-06-12 06:40:56  0.00B 
/bin/sh -c #(nop) ADD multi:ac337554a78765be3a21ea876efc42222e2b0f41141ff360c1572eec58a1b242 in /etc/yum.repos.d/ 
                        
# 2025-06-12 06:40:56  0.00B 
/bin/sh -c #(nop) ADD file:df13b6a4fdeac4626ab7cd7e99d16d30edc6e3e5441295ae7691bee26604a5b1 in /tmp/tls-ca-bundle.pem 
                        
# 2025-06-12 06:40:56  0.00B 
/bin/sh -c mv -f /etc/yum.repos.d/ubi.repo /tmp || :
                        
# 2025-06-12 06:40:55  0.00B 
/bin/sh -c #(nop) ADD file:f62c175c72221e93fdbc4b782bad8f4e01d1b67fc239ca468b99215cdb4324bc in / 
                        
                    

镜像信息

{
    "Id": "sha256:783b1669edc03b4845a09ec4306cf9c5ade8b61aa653bcd234ad3f19de1ccf5a",
    "RepoTags": [
        "mongodb/mongodb-community-server:8.0-ubi8",
        "mongodb/mongodb-community-server:8.0.10-ubi8",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:8.0-ubi8",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:8.0.10-ubi8"
    ],
    "RepoDigests": [
        "mongodb/mongodb-community-server@sha256:865c54c5a0235883351fe39a26338e0d677067b0eba673785fffda8f6a651004",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server@sha256:a761a58e0c044e0a4d5086a6feedefd8ad0f312ce237a5fbae2105a9ed6571ed"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-06-25T06:19:46.586770887Z",
    "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-06-11T22:26:31",
            "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.33.12",
            "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": "1304.1749680715",
            "summary": "MongoDB Standalone Container",
            "url": "https://access.redhat.com/containers/#/registry.access.redhat.com/ubi8/images/8.10-1304.1749680715",
            "vcs-ref": "967861a8dbbb288b8cec9f1fee7ccbf6c7ee9a20",
            "vcs-type": "git",
            "vendor": "MongoDB",
            "version": "8.0.10"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 1219261970,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/2a084c85fa8ca31bdda397fa12c347a78fa0afc4fa77ddbe621efd08f6493215/diff:/var/lib/docker/overlay2/12b6157213ef638712a1ac46c7b5efa4781872ccc229543be918066179e4e7cb/diff:/var/lib/docker/overlay2/9cef0d7d154b44ed856f93cfdcdb435aa1ff5aecfe680749928df69fd875e06c/diff:/var/lib/docker/overlay2/ab2fc9df811c5e457dc9cf00bbf2fa07bd09d04882f948ab8a3ecfa954cd4450/diff:/var/lib/docker/overlay2/42b99b1aea3bcf8fa02bad2269803e364abed4ea467c95b7f22cdd6cefe5b489/diff:/var/lib/docker/overlay2/744cba80c0077dc54aa124c2dd421a246a1f54e8ecdc2a0df24aef9229a43d3b/diff:/var/lib/docker/overlay2/b725ef99fa43f7986f5f46ed9820b269ba9e9d35c350fd131f1e1149c5bd01e0/diff:/var/lib/docker/overlay2/31ae5291a8244825956b2d7c1b808990e6e554be3651a92173dbdcf19c3d8a0f/diff",
            "MergedDir": "/var/lib/docker/overlay2/b4c2f172d77f77aded02f76a0e3e62d9132eeb820fc813bbca11585964a56320/merged",
            "UpperDir": "/var/lib/docker/overlay2/b4c2f172d77f77aded02f76a0e3e62d9132eeb820fc813bbca11585964a56320/diff",
            "WorkDir": "/var/lib/docker/overlay2/b4c2f172d77f77aded02f76a0e3e62d9132eeb820fc813bbca11585964a56320/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:b83c405df2d4d03d8901b3e55a49c164cb3253eaf192bd8c309aca1da2c36d13",
            "sha256:d232bf6ef746244152420b4b61bebd5030e07b850a386d9d39db0003ed63cc77",
            "sha256:12e1fd462535e64c3b1f5635a10c3dab17ba69695a2c31c33f30d7741dd88aae",
            "sha256:3f9fc419962b0f332923ece75cb9b87d57601092892e8ae50632716ab4c7126b",
            "sha256:f9dcd3e60d866e27d66539baae106968439e410a1970c5b383ecfcd7e937cebd",
            "sha256:1695b5e86d07dc6a65a4cdca49f68696f874e5d908c60105c18a4bc3aca814dd",
            "sha256:8aef56dc7f154857fca856bb88bb26e28fbd12a7dada4029270597c6b0b536a9",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:a6f28c8a70b55d93fc0e23f8c071e246ae64590bc9b7abff4016bc753bb4c627"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-06-26T10:46:42.193389247+08:00"
    }
}

更多版本

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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