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

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

MongoDB 社区版服务器

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

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

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

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

源镜像 docker.io/mongodb/mongodb-community-server:6.0.10-ubi9
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:6.0.10-ubi9
镜像ID sha256:914927e7d4a268e33e4f5997d855d35ab6846fc5c12d3698177f37bcc4abbc95
镜像TAG 6.0.10-ubi9
大小 1.08GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mongod
启动入口 python3 /usr/local/bin/docker-entrypoint.py
工作目录 /
OS/平台 linux/amd64
浏览量 12 次
贡献者
镜像创建 2025-07-11T06:18:34.613903789Z
同步时间 2025-07-11 18:04
更新时间 2025-07-12 11:02
开放端口
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:19: build-date ubi9-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 9: io.k8s.display-name : io.openshift.expose-services base rhel9: io.openshift.tags support@mongodb.com: maintainer MongoDB Standalone: name 1752069608: release MongoDB Standalone Container: summary https://www.redhat.com: url d3a7532cdd2fbad954ad89f2f394e28f4be3593e: vcs-ref git: vcs-type MongoDB: vendor 6.0.10: version

Docker拉取命令

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

Containerd拉取命令

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

Shell快速替换命令

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

镜像构建历史


# 2025-07-11 14:18:34  0.00B 设置默认要执行的命令
CMD ["mongod"]
                        
# 2025-07-11 14:18:34  0.00B 声明容器运行时监听的端口
EXPOSE map[27017/tcp:{}]
                        
# 2025-07-11 14:18:34  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["python3" "/usr/local/bin/docker-entrypoint.py"]
                        
# 2025-07-11 14:18:34  0.00B 指定运行容器时使用的用户
USER mongod
                        
# 2025-07-11 14:18:34  0.00B 设置环境变量 HOME
ENV HOME=/data/db
                        
# 2025-07-11 14:18:34  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/data/db /data/configdb]
                        
# 2025-07-11 14:18:34  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:18:34  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:18:34  0.00B 定义构建参数
ARG HOST_GID
                        
# 2025-07-11 14:18:34  0.00B 定义构建参数
ARG HOST_UID
                        
# 2025-07-11 14:18:34  0.00B 添加元数据标签
LABEL name=MongoDB Standalone version=6.0.10 summary=MongoDB Standalone Container description=Container configured with a standalone instance of MongoDB vendor=MongoDB maintainer=support@mongodb.com
                        
# 2025-07-11 14:18:30  22.06KB 复制新文件或目录到容器中
COPY docker-entrypoint.py /usr/local/bin/docker-entrypoint.py # buildkit
                        
# 2025-07-11 14:18:30  155.00B 复制新文件或目录到容器中
COPY LICENSE /licenses # buildkit
                        
# 2025-07-11 14:18:30  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p licenses # buildkit
                        
# 2025-07-11 14:18:30  42.00MB 执行命令并创建新的镜像层
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:18:26  828.23MB 执行命令并创建新的镜像层
RUN /bin/sh -c dnf update -y --setopt=install_weak_deps=0 --exclude=openssl-libs --nobest &&     dnf install -y --setopt=install_weak_deps=0 --exclude=openssl-libs --nobest --skip-broken     mongodb-org-6.0.10 mongodb-org-database-6.0.10     mongodb-org-server-6.0.10     mongodb-org-mongos-6.0.10 mongodb-org-tools-6.0.10     python3 python3-devel python3-pip gcc wget     hostname nss_wrapper procps &&     dnf clean all # buildkit
                        
# 2025-07-11 14:18:10  203.00B 复制新文件或目录到容器中
COPY mongodb-org.repo /etc/yum.repos.d/ # buildkit
                        
# 2025-07-11 14:18:10  0.00B 添加元数据标签
LABEL name=MongoDB Base version=6.0.10 summary=MongoDB Base Container description=Container with all MongoDB packages installed vendor=MongoDB maintainer=support@mongodb.com
                        
# 2025-07-09 22:01:47  209.62MB 
/bin/sh -c #(nop) LABEL "build-date"="2025-07-09T14:01:19" "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="d3a7532cdd2fbad954ad89f2f394e28f4be3593e" "release"="1752069608"
                        
# 2025-07-09 22:01:46  0.00B 
/bin/sh -c #(nop) COPY file:58cc94f5b3b2d60de2c77a6ed4b1797dcede502ccdb429a72e7a72d994235b3c in /usr/share/buildinfo/content-sets.json    
                        
# 2025-07-09 22:01:46  0.00B 
/bin/sh -c #(nop) CMD ["/bin/bash"]
                        
# 2025-07-09 22:01:46  0.00B 
/bin/sh -c #(nop) COPY file:b37d593713ee21ad52a4cd1424dc019a24f7966f85df0ac4b86d234302695328 in /etc/yum.repos.d/.    
                        
# 2025-07-09 22:01:46  0.00B 
/bin/sh -c #(nop) COPY dir:8fd29a2838957b624d93dc79c48d27cc3143d86b5260ce0207553c41c1c87b56 in /    
                        
# 2025-07-09 22:01:44  0.00B 
/bin/sh -c #(nop) ENV container oci
                        
# 2025-07-09 22:01:44  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.tags="base rhel9"
                        
# 2025-07-09 22:01:44  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
                        
# 2025-07-09 22:01:44  0.00B 
/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 9"
                        
# 2025-07-09 22:01:44  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:44  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:44  0.00B 
/bin/sh -c #(nop) LABEL summary="Provides the latest release of Red Hat Universal Base Image 9."
                        
# 2025-07-09 22:01:44  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:44  0.00B 
/bin/sh -c #(nop) LABEL com.redhat.component="ubi9-container"       name="ubi9"       version="9.6"       distribution-scope="public"
                        
# 2025-07-09 22:01:44  0.00B 
/bin/sh -c #(nop) LABEL url="https://www.redhat.com"
                        
# 2025-07-09 22:01:44  0.00B 
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc."       vendor="Red Hat, Inc."
                        
                    

镜像信息

{
    "Id": "sha256:914927e7d4a268e33e4f5997d855d35ab6846fc5c12d3698177f37bcc4abbc95",
    "RepoTags": [
        "mongodb/mongodb-community-server:6.0.10-ubi9",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:6.0.10-ubi9"
    ],
    "RepoDigests": [
        "mongodb/mongodb-community-server@sha256:47e39ca609b3dcb538da231de04d9a524faa7e963c4a1f9f05f402b75a958190",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server@sha256:046ffae1db466e0862327ec7b1d4b908e09c8a56cd003036974c689121647cf4"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-07-11T06:18:34.613903789Z",
    "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:19",
            "com.redhat.component": "ubi9-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 9",
            "io.openshift.expose-services": "",
            "io.openshift.tags": "base rhel9",
            "maintainer": "support@mongodb.com",
            "name": "MongoDB Standalone",
            "release": "1752069608",
            "summary": "MongoDB Standalone Container",
            "url": "https://www.redhat.com",
            "vcs-ref": "d3a7532cdd2fbad954ad89f2f394e28f4be3593e",
            "vcs-type": "git",
            "vendor": "MongoDB",
            "version": "6.0.10"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 1079871823,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/1602a7c7a1d1498ecc275c953ef45b95cabb2dd1791bd64ba466cd54a86ee258/diff:/var/lib/docker/overlay2/a9b9b8bd9ab99682ad3fc73105fa2273d836db5b6a345872ca4476a6886d14bc/diff:/var/lib/docker/overlay2/0b78a4b13375f34625abe40c762d5fbd554d37624cb459720cb6ed25daa00c2c/diff:/var/lib/docker/overlay2/314c96a18e7b3b523ff29a66b7d164aeee68b90d6fca21d032e88ae3906dbde5/diff:/var/lib/docker/overlay2/6a018448ed95359ebfc534534c6b3c0890b532cd3a5d43628e0d00ac547aa574/diff:/var/lib/docker/overlay2/36303359a78c0cbbde6216dfe808148233cdc334c640efac0465d82e094d4b28/diff:/var/lib/docker/overlay2/495473560e90c6e8641d38c91e1f1b4fca3b12ec8adc87603cf15e7c40e68e30/diff:/var/lib/docker/overlay2/bb12ba20bf89fd87eec84b5668e785b41b5c36160044e57add37522a1e45f816/diff",
            "MergedDir": "/var/lib/docker/overlay2/5f618af054bb3ded7711471bd0de9d8f245e9ad63eba156cd5ad1a3739f8c20e/merged",
            "UpperDir": "/var/lib/docker/overlay2/5f618af054bb3ded7711471bd0de9d8f245e9ad63eba156cd5ad1a3739f8c20e/diff",
            "WorkDir": "/var/lib/docker/overlay2/5f618af054bb3ded7711471bd0de9d8f245e9ad63eba156cd5ad1a3739f8c20e/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:43fcf73fe0582a797491715b1b1a8c55f292a66223f2da7b2058d73d4fc74799",
            "sha256:a2428690003f1c003fafc66bd5b437cd96253e059fec8b72529f915d7c50e83b",
            "sha256:d0dea28a6b875f5ed4e555f40f992c26c158994727cb3d1773a52166bf265326",
            "sha256:4a70cf46b6c3c3c281bc955b8549eb619ea4076145a6cd4d5accaedd1f55ce6b",
            "sha256:46958cb890eb85e22310f512d4dd6293b89d299af27ce9d02d909267d586dd7b",
            "sha256:6752de4a03521e949007c3473360f6435e2255304c1f3b3fcfcca2d14a7a4d4b",
            "sha256:7d9fd931bb2f84554dfd8be8f3c07e7e67653601051f3913e84aa86d2dcc04d9",
            "sha256:4b2c5577179ce7fb2bfe8e2b2ebb4c35bb03fb42ffe50cf5fe73f2828c2fb920",
            "sha256:3b3f2892e49b572719a11d67215424e9730998e5f2f9543486e0ff0eb531b9e7"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-07-11T18:03:54.550587795+08:00"
    }
}

更多版本

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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