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

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

MongoDB 社区版服务器

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

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

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

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

源镜像 docker.io/mongodb/mongodb-community-server:6.0.11-ubi9
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:6.0.11-ubi9
镜像ID sha256:4177ab60f16914e6af93c5a6777ffbdc9d279597cc4aee137286714d3e8a4af3
镜像TAG 6.0.11-ubi9
大小 1.16GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mongod
启动入口 python3 /usr/local/bin/docker-entrypoint.py
工作目录
OS/平台 linux/amd64
浏览量 46 次
贡献者
镜像创建 2024-12-02T06:31:24.521441093Z
同步时间 2024-12-04 15:56
更新时间 2024-12-26 16:54
开放端口
27017/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin container=oci HOME=/data/db
镜像标签
x86_64: architecture 2024-10-24T12:46:07: 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.33.8: 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 1214.1729773476: release MongoDB Standalone Container: summary https://access.redhat.com/containers/#/registry.access.redhat.com/ubi9/images/9.4-1214.1729773476: url e309397d02fc53f7fa99db1371b8700eb49f268f: vcs-ref git: vcs-type MongoDB: vendor 6.0.11: version
镜像安全扫描 查看Trivy扫描报告

系统OS: redhat 9.5 扫描引擎: Trivy 扫描时间: 2024-12-04 15:58

低危漏洞:154 中危漏洞:54 高危漏洞:1 严重漏洞:0

Docker拉取命令 无权限下载?点我修复

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

Containerd拉取命令

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

Shell快速替换命令

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

镜像构建历史


# 2024-12-02 14:31:24  0.00B 设置默认要执行的命令
CMD ["mongod"]
                        
# 2024-12-02 14:31:24  0.00B 声明容器运行时监听的端口
EXPOSE map[27017/tcp:{}]
                        
# 2024-12-02 14:31:24  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["python3" "/usr/local/bin/docker-entrypoint.py"]
                        
# 2024-12-02 14:31:24  0.00B 指定运行容器时使用的用户
USER mongod
                        
# 2024-12-02 14:31:24  0.00B 设置环境变量 HOME
ENV HOME=/data/db
                        
# 2024-12-02 14:31:24  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/data/db /data/configdb]
                        
# 2024-12-02 14:31:24  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
                        
# 2024-12-02 14:31:24  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
                        
# 2024-12-02 14:31:24  0.00B 定义构建参数
ARG HOST_GID
                        
# 2024-12-02 14:31:24  0.00B 定义构建参数
ARG HOST_UID
                        
# 2024-12-02 14:31:24  0.00B 添加元数据标签
LABEL name=MongoDB Standalone version=6.0.11 summary=MongoDB Standalone Container description=Container configured with a standalone instance of MongoDB vendor=MongoDB maintainer=support@mongodb.com
                        
# 2024-12-02 14:31:20  22.06KB 复制新文件或目录到容器中
COPY docker-entrypoint.py /usr/local/bin/docker-entrypoint.py # buildkit
                        
# 2024-12-02 14:31:20  155.00B 复制新文件或目录到容器中
COPY LICENSE /licenses # buildkit
                        
# 2024-12-02 14:31:20  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p licenses # buildkit
                        
# 2024-12-02 14:31:19  50.07MB 执行命令并创建新的镜像层
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
                        
# 2024-12-02 14:31:16  897.39MB 执行命令并创建新的镜像层
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.11 mongodb-org-database-6.0.11     mongodb-org-server-6.0.11     mongodb-org-mongos-6.0.11 mongodb-org-tools-6.0.11     python3 python3-devel python3-pip gcc wget     hostname nss_wrapper procps &&     dnf clean all # buildkit
                        
# 2024-12-02 14:30:38  203.00B 复制新文件或目录到容器中
COPY mongodb-org.repo /etc/yum.repos.d/ # buildkit
                        
# 2024-12-02 14:30:38  0.00B 添加元数据标签
LABEL name=MongoDB Base version=6.0.11 summary=MongoDB Base Container description=Container with all MongoDB packages installed vendor=MongoDB maintainer=support@mongodb.com
                        
# 2024-10-24 20:59:19  212.96MB 
/bin/sh -c mv -fZ /tmp/ubi.repo /etc/yum.repos.d/ubi.repo || :
                        
# 2024-10-24 20:59:15  0.00B 
/bin/sh -c rm -f /tmp/tls-ca-bundle.pem
                        
# 2024-10-24 20:59:15  0.00B 
/bin/sh -c rm -f '/etc/yum.repos.d/odcs-3606863-5170f.repo' '/etc/yum.repos.d/rhel-9.4-compose-34ae9.repo'
                        
# 2024-10-24 20:59:14  0.00B 
/bin/sh -c #(nop) LABEL "release"="1214.1729773476" "distribution-scope"="public" "vendor"="Red Hat, Inc." "build-date"="2024-10-24T12:46:07" "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="e309397d02fc53f7fa99db1371b8700eb49f268f" "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/ubi9/images/9.4-1214.1729773476"
                        
# 2024-10-24 20:59:14  0.00B 
/bin/sh -c #(nop) ADD file:2569396c709099fb9a7bcc960974a77b96c3f8b8081c5bd2c6eca79a275afbd4 in /root/buildinfo/Dockerfile-ubi9-9.4-1214.1729773476 
                        
# 2024-10-24 20:59:13  0.00B 
/bin/sh -c #(nop) ADD file:a3a9d84d530a03761c99ebb86fad28353a6fefb3788ecb2efcd893258425b1f7 in /root/buildinfo/content_manifests/ubi9-container-9.4-1214.1729773476.json 
                        
# 2024-10-24 20:59:13  0.00B 
/bin/sh -c mkdir -p /var/log/rhsm
                        
# 2024-10-24 20:59:12  0.00B 
/bin/sh -c rm -rf /var/log/*
                        
# 2024-10-24 20:59:11  0.00B 
/bin/sh -c #(nop) CMD ["/bin/bash"]
                        
# 2024-10-24 20:59:11  0.00B 
/bin/sh -c #(nop) ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-10-24 20:59:11  0.00B 
/bin/sh -c #(nop) ENV container oci
                        
# 2024-10-24 20:59:11  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.tags="base rhel9"
                        
# 2024-10-24 20:59:11  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
                        
# 2024-10-24 20:59:11  0.00B 
/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 9"
                        
# 2024-10-24 20:59:11  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."
                        
# 2024-10-24 20:59:11  0.00B 
/bin/sh -c #(nop) LABEL summary="Provides the latest release of Red Hat Universal Base Image 9."
                        
# 2024-10-24 20:59:11  0.00B 
/bin/sh -c #(nop) LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
                        
# 2024-10-24 20:59:11  0.00B 
/bin/sh -c #(nop) LABEL com.redhat.component="ubi9-container"       name="ubi9"       version="9.4"
                        
# 2024-10-24 20:59:11  0.00B 
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc."
                        
# 2024-10-24 20:59:11  0.00B 
/bin/sh -c #(nop) ADD multi:7667a8c78bcd0d2f5fc0f3a30636b6cc467f1598bc123dd6bb6df338d6af61b2 in /etc/yum.repos.d/ 
                        
# 2024-10-24 20:59:10  0.00B 
/bin/sh -c #(nop) ADD file:5b1f650e1376d79fa3a65df4a154ea5166def95154b52c1c1097dfd8fc7d58eb in /tmp/tls-ca-bundle.pem 
                        
# 2024-10-24 20:59:10  0.00B 
/bin/sh -c mv -f /etc/yum.repos.d/ubi.repo /tmp || :
                        
# 2024-10-24 20:58:55  0.00B 
/bin/sh -c #(nop) ADD file:e440e2e895b3a66881097278a06892dd875b1bc7072257b72ae2504ac0c49f1c in / 
                        
                    

镜像信息

{
    "Id": "sha256:4177ab60f16914e6af93c5a6777ffbdc9d279597cc4aee137286714d3e8a4af3",
    "RepoTags": [
        "mongodb/mongodb-community-server:6.0.11-ubi9",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:6.0.11-ubi9"
    ],
    "RepoDigests": [
        "mongodb/mongodb-community-server@sha256:becaedaf77825dad5afce9d564ff19762755ee3a3267acec7b3c7f17f3c6aec1",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server@sha256:92d26bbe2eea337dc595b4c5ce8070fa6eb5532256cf9f5bfa5b983e111c2ee3"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-12-02T06:31:24.521441093Z",
    "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": "2024-10-24T12:46:07",
            "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.33.8",
            "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": "1214.1729773476",
            "summary": "MongoDB Standalone Container",
            "url": "https://access.redhat.com/containers/#/registry.access.redhat.com/ubi9/images/9.4-1214.1729773476",
            "vcs-ref": "e309397d02fc53f7fa99db1371b8700eb49f268f",
            "vcs-type": "git",
            "vendor": "MongoDB",
            "version": "6.0.11"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 1160450226,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/e7424c2cb3d2867299522364408df7f815856935fc588edf7aca5b68f5949404/diff:/var/lib/docker/overlay2/8c1ca18322847a243ac871e6af665526f17fc7cfb15dd3a8373b89e34116f365/diff:/var/lib/docker/overlay2/6cabff90255133067a0839ee5d682e85db74fd906ef295e1fb8e33cf0917507b/diff:/var/lib/docker/overlay2/86805dd3bd0e7ea72e378feb7a11a15412a6f5d7d68962ede9285875d8171184/diff:/var/lib/docker/overlay2/0de849f320a261e9529b875f3faedf8d7645ed69f1f46e62b06c3e548cb3d2ee/diff:/var/lib/docker/overlay2/fcba8282f5a682263085e3f6670f64aef92decb76deeeb06c643266a1bffa411/diff:/var/lib/docker/overlay2/7efa0aaf49d8043abdb22388644b4130104646a2d0bb8e033d688cda05586835/diff:/var/lib/docker/overlay2/7e7472800d01c92e19a40f5c633b8410d6bd22f3cd4841efb80c5b1351a6a66b/diff",
            "MergedDir": "/var/lib/docker/overlay2/098080e26afe0a85c17b947e38b9abce868fa08d1c4226540c5199740e77bccc/merged",
            "UpperDir": "/var/lib/docker/overlay2/098080e26afe0a85c17b947e38b9abce868fa08d1c4226540c5199740e77bccc/diff",
            "WorkDir": "/var/lib/docker/overlay2/098080e26afe0a85c17b947e38b9abce868fa08d1c4226540c5199740e77bccc/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:1969738e52bc5d07f669594314dcaed97193dc18e9410c3415f303c10a3dcf0a",
            "sha256:564ac1f961c03eb2b88a63d700e48565f360c8fb5f6a29cb51f7b26b5b1dc083",
            "sha256:0c5bb982bf82e374d68d1c5fd2a76c0bf0c1bff1e14b08ccd84667bacca40225",
            "sha256:e024084be4d67015303ea1f88ccbf84476bbccbac6cf7fe8e91f28bdd1544ea5",
            "sha256:5c586b25d5a6f00dd1cc708fa4c0cfa64e7431e72acf8366a8ae825d77b42ed6",
            "sha256:201e22d37d78858bcb0d7444fd41857658301a6b6a739c734c04ab451d383f20",
            "sha256:b0bb02076d13c46edf8527455661de14eebb3893296e12277f7bcb3d86561a9e",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:d49b4c032b30d8bd977b57dbe2e681cfd575e22eb4f81c09e7776d15d8cdfbc4"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-04T15:55:48.568199517+08:00"
    }
}

更多版本

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

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

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

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