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

docker.io/mongodb/mongodb-community-server:8.0.6-ubi8 - 国内下载镜像源 浏览次数:19 温馨提示: 这是一个 linux/arm64 系统架构镜像

MongoDB 社区版服务器

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

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

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

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

源镜像 docker.io/mongodb/mongodb-community-server:8.0.6-ubi8
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:8.0.6-ubi8-linuxarm64
镜像ID sha256:e9e0f47fde88b8ac536bccacd6ba30ab21b62fdb0848d9c0a7c04865a76034bc
镜像TAG 8.0.6-ubi8-linuxarm64
大小 1.19GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mongod
启动入口 python3 /usr/local/bin/docker-entrypoint.py
工作目录
OS/平台 linux/arm64
浏览量 19 次
贡献者
镜像创建 2025-06-05T06:18:27.796590554Z
同步时间 2025-06-10 18:06
更新时间 2025-06-13 10:46
开放端口
27017/tcp
目录挂载
/data/configdb /data/db
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin container=oci HOME=/data/db
镜像标签
aarch64: architecture 2025-05-29T10:29:14: 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: release MongoDB Standalone Container: summary https://access.redhat.com/containers/#/registry.access.redhat.com/ubi8/images/8.10-1304: url 967861a8dbbb288b8cec9f1fee7ccbf6c7ee9a20: vcs-ref git: vcs-type MongoDB: vendor 8.0.6: version

Docker拉取命令

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

Containerd拉取命令

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

Shell快速替换命令

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

镜像构建历史


# 2025-06-05 14:18:27  0.00B 设置默认要执行的命令
CMD ["mongod"]
                        
# 2025-06-05 14:18:27  0.00B 声明容器运行时监听的端口
EXPOSE map[27017/tcp:{}]
                        
# 2025-06-05 14:18:27  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["python3" "/usr/local/bin/docker-entrypoint.py"]
                        
# 2025-06-05 14:18:27  0.00B 指定运行容器时使用的用户
USER mongod
                        
# 2025-06-05 14:18:27  0.00B 设置环境变量 HOME
ENV HOME=/data/db
                        
# 2025-06-05 14:18:27  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/data/db /data/configdb]
                        
# 2025-06-05 14:18:27  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-05 14:18:27  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-05 14:18:27  0.00B 定义构建参数
ARG HOST_GID
                        
# 2025-06-05 14:18:27  0.00B 定义构建参数
ARG HOST_UID
                        
# 2025-06-05 14:18:27  0.00B 添加元数据标签
LABEL name=MongoDB Standalone version=8.0.6 summary=MongoDB Standalone Container description=Container configured with a standalone instance of MongoDB vendor=MongoDB maintainer=support@mongodb.com
                        
# 2025-06-05 14:18:23  22.06KB 复制新文件或目录到容器中
COPY docker-entrypoint.py /usr/local/bin/docker-entrypoint.py # buildkit
                        
# 2025-06-05 14:18:23  155.00B 复制新文件或目录到容器中
COPY LICENSE /licenses # buildkit
                        
# 2025-06-05 14:18:23  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p licenses # buildkit
                        
# 2025-06-05 14:18:23  50.65MB 执行命令并创建新的镜像层
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-05 14:18:18  914.64MB 执行命令并创建新的镜像层
RUN /bin/sh -c dnf update -y --setopt=install_weak_deps=0 &&     dnf install -y --setopt=install_weak_deps=0     mongodb-org-8.0.6 mongodb-org-database-8.0.6     mongodb-org-server-8.0.6     mongodb-org-mongos-8.0.6 mongodb-org-tools-8.0.6     python3 python3-devel python3-pip gcc wget     hostname nss_wrapper procps &&     dnf clean all # buildkit
                        
# 2025-06-05 14:17:51  203.00B 复制新文件或目录到容器中
COPY mongodb-org.repo /etc/yum.repos.d/ # buildkit
                        
# 2025-06-05 14:17:51  0.00B 添加元数据标签
LABEL name=MongoDB Base version=8.0.6 summary=MongoDB Base Container description=Container with all MongoDB packages installed vendor=MongoDB maintainer=support@mongodb.com
                        
# 2025-05-29 18:39:15  228.93MB 
/bin/sh -c mv -fZ /tmp/ubi.repo /etc/yum.repos.d/ubi.repo || :
                        
# 2025-05-29 18:39:13  0.00B 
/bin/sh -c rm -f /tmp/tls-ca-bundle.pem
                        
# 2025-05-29 18:39:12  0.00B 
/bin/sh -c rm -f '/etc/yum.repos.d/repo-228aa.repo' '/etc/yum.repos.d/repo-d786b.repo'
                        
# 2025-05-29 18:39:10  0.00B 
/bin/sh -c #(nop) LABEL "distribution-scope"="public" "vendor"="Red Hat, Inc." "build-date"="2025-05-29T10:29:14" "architecture"="aarch64" "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"
                        
# 2025-05-29 18:39:10  0.00B 
/bin/sh -c #(nop) ADD file:bb65f78303f83a6ab87402a4250affddb73b36b859a8dc0b6f2d922a441b28d1 in /root/buildinfo/Dockerfile-ubi8-8.10-1304 
                        
# 2025-05-29 18:39:10  0.00B 
/bin/sh -c #(nop) ADD file:f4ea84cefd412afa12f8adab87a004992b1e14f0aec0a45f163fe2af06aea662 in /root/buildinfo/content_manifests/ubi8-container-8.10-1304.json 
                        
# 2025-05-29 18:39:10  0.00B 
/bin/sh -c #(nop) LABEL release=1304
                        
# 2025-05-29 18:39:10  0.00B 
/bin/sh -c mkdir -p /var/log/rhsm
                        
# 2025-05-29 18:39:09  0.00B 
/bin/sh -c rm -rf /var/log/*
                        
# 2025-05-29 18:39:07  0.00B 
/bin/sh -c #(nop) CMD ["/bin/bash"]
                        
# 2025-05-29 18:39:07  0.00B 
/bin/sh -c #(nop) ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2025-05-29 18:39:07  0.00B 
/bin/sh -c #(nop) ENV container oci
                        
# 2025-05-29 18:39:07  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.tags="base rhel8"
                        
# 2025-05-29 18:39:07  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
                        
# 2025-05-29 18:39:07  0.00B 
/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 8"
                        
# 2025-05-29 18:39:07  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-05-29 18:39:07  0.00B 
/bin/sh -c #(nop) LABEL summary="Provides the latest release of Red Hat Universal Base Image 8."
                        
# 2025-05-29 18:39:07  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-05-29 18:39:07  0.00B 
/bin/sh -c #(nop) LABEL com.redhat.component="ubi8-container"       name="ubi8"       version="8.10"
                        
# 2025-05-29 18:39:07  0.00B 
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc."
                        
# 2025-05-29 18:39:07  0.00B 
/bin/sh -c #(nop) ADD multi:7175ab93f02f079065f01beca07d710c56ad2a5f2e0f27c437d830db5205fcd3 in /etc/yum.repos.d/ 
                        
# 2025-05-29 18:39:07  0.00B 
/bin/sh -c #(nop) ADD file:df13b6a4fdeac4626ab7cd7e99d16d30edc6e3e5441295ae7691bee26604a5b1 in /tmp/tls-ca-bundle.pem 
                        
# 2025-05-29 18:39:07  0.00B 
/bin/sh -c mv -f /etc/yum.repos.d/ubi.repo /tmp || :
                        
# 2025-05-29 18:39:06  0.00B 
/bin/sh -c #(nop) ADD file:3e5eb09a214febe3f1920dd7d53aceb26e2dfd02bbff0e184649a43228be01b0 in / 
                        
                    

镜像信息

{
    "Id": "sha256:e9e0f47fde88b8ac536bccacd6ba30ab21b62fdb0848d9c0a7c04865a76034bc",
    "RepoTags": [
        "mongodb/mongodb-community-server:8.0.6-ubi8",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:8.0.6-ubi8-linuxarm64"
    ],
    "RepoDigests": [
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server@sha256:a018a77dc0822d4bdb09331528b76d19709ec5d912fc575c40c3e77ddaf2ad38"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-06-05T06:18:27.796590554Z",
    "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": "aarch64",
            "build-date": "2025-05-29T10:29:14",
            "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",
            "summary": "MongoDB Standalone Container",
            "url": "https://access.redhat.com/containers/#/registry.access.redhat.com/ubi8/images/8.10-1304",
            "vcs-ref": "967861a8dbbb288b8cec9f1fee7ccbf6c7ee9a20",
            "vcs-type": "git",
            "vendor": "MongoDB",
            "version": "8.0.6"
        }
    },
    "Architecture": "arm64",
    "Os": "linux",
    "Size": 1194238166,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/ef6bb81a2bf4421e9f5dbb2cc14432fc45b28967581bea11e967eda110a59a45/diff:/var/lib/docker/overlay2/6f3557d969c1084b7d5da68b8c7c7bc407de71607e8a7c601a7c9d353c832e10/diff:/var/lib/docker/overlay2/f13066760250ddf426d5c65a9f2d31e30b7f4c879d47002033f49ee08c4f336c/diff:/var/lib/docker/overlay2/a5d71783f0032c057395ae764e4b99b4c8bc39f29e0bfb98a9ae6d6c9c36c549/diff:/var/lib/docker/overlay2/c0a8564a968deddb532871c891bbc73a0c038eac79bd2db4a9f175528a92295b/diff:/var/lib/docker/overlay2/62538f4ec46aa9d9f0e1519a1351eb05a53de84a609e1020a3a507ca00c610ef/diff:/var/lib/docker/overlay2/e032c902f25b2a130eb9669f4eb7735d23be25c0360849f3b832840b5e04c2a1/diff:/var/lib/docker/overlay2/a7f92f2da767ce835dd08114418a0ce62a19a727a471447a2c1a3238ac8b9672/diff",
            "MergedDir": "/var/lib/docker/overlay2/bb3c91de84dc467b8a3b7472372cb5397de235e9b2e059428e6cd3fb67f6f1d0/merged",
            "UpperDir": "/var/lib/docker/overlay2/bb3c91de84dc467b8a3b7472372cb5397de235e9b2e059428e6cd3fb67f6f1d0/diff",
            "WorkDir": "/var/lib/docker/overlay2/bb3c91de84dc467b8a3b7472372cb5397de235e9b2e059428e6cd3fb67f6f1d0/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:16d46f55c8f91d480230224285cfe6723232fb1e938c09df3a3484e9ff894c35",
            "sha256:e87f96f0fce39eee8773e1e2336c05195e97c1809d6d1e4ef7354074348149ed",
            "sha256:7a379010fd4259d413445a32eaeec859795fd9c250d9f87e7c6487716c8653e6",
            "sha256:7a1e23cc4040598777c3eae07d86a966690bf2ef758c8c24cfb76c2b6f076874",
            "sha256:7ca988f47b57d6d6cc7c66970b8a7420904a7fe43ba3001a151013d68937be35",
            "sha256:5d13c84d9e0cd23828d9d71bd7701d8a34805423ca8167d02818e161c3b1043a",
            "sha256:78159857ef72a0bbc0eefbb8717b228e815d724ee72ee7dfdec073e5f8860864",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:7a199071ed14ab040c3ba7e1e658eec740b1d9ad1aff83f4212342dc2c5cc388"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-06-10T18:05:13.838338405+08:00"
    }
}

更多版本

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

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

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

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

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

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

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

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

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

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

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

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