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

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

MongoDB 社区版服务器

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

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

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

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

源镜像 docker.io/mongodb/mongodb-community-server:7.0.3-rc1-ubi8
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:7.0.3-rc1-ubi8
镜像ID sha256:f60de1b75a1c5c42bd768dd652ecd578a2cd9b93251c03face432ecb6379621e
镜像TAG 7.0.3-rc1-ubi8
大小 1.16GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mongod
启动入口 python3 /usr/local/bin/docker-entrypoint.py
工作目录
OS/平台 linux/amd64
浏览量 286 次
贡献者 dh*****5@126.com
镜像创建 2024-10-20T06:28:16.239413937Z
同步时间 2024-10-21 16:09
更新时间 2025-03-31 02: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-09-17T13:47:26: 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.29.0: 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 1088: release MongoDB Standalone Container: summary https://access.redhat.com/containers/#/registry.access.redhat.com/ubi8/images/8.10-1088: url 967861a8dbbb288b8cec9f1fee7ccbf6c7ee9a20: vcs-ref git: vcs-type MongoDB: vendor 7.0.3-rc1: version

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

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

Containerd拉取命令

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

Shell快速替换命令

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

镜像构建历史


# 2024-10-20 14:28:16  0.00B 设置默认要执行的命令
CMD ["mongod"]
                        
# 2024-10-20 14:28:16  0.00B 声明容器运行时监听的端口
EXPOSE map[27017/tcp:{}]
                        
# 2024-10-20 14:28:16  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["python3" "/usr/local/bin/docker-entrypoint.py"]
                        
# 2024-10-20 14:28:16  0.00B 指定运行容器时使用的用户
USER mongod
                        
# 2024-10-20 14:28:16  0.00B 设置环境变量 HOME
ENV HOME=/data/db
                        
# 2024-10-20 14:28:16  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/data/db /data/configdb]
                        
# 2024-10-20 14:28:16  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-10-20 14:28:15  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-10-20 14:28:15  0.00B 定义构建参数
ARG HOST_GID
                        
# 2024-10-20 14:28:15  0.00B 定义构建参数
ARG HOST_UID
                        
# 2024-10-20 14:28:15  0.00B 添加元数据标签
LABEL name=MongoDB Standalone version=7.0.3-rc1 summary=MongoDB Standalone Container description=Container configured with a standalone instance of MongoDB vendor=MongoDB maintainer=support@mongodb.com
                        
# 2024-10-20 14:28:12  22.06KB 复制新文件或目录到容器中
COPY docker-entrypoint.py /usr/local/bin/docker-entrypoint.py # buildkit
                        
# 2024-10-20 14:28:12  155.00B 复制新文件或目录到容器中
COPY LICENSE /licenses # buildkit
                        
# 2024-10-20 14:28:12  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir -p licenses # buildkit
                        
# 2024-10-20 14:28:12  50.88MB 执行命令并创建新的镜像层
RUN /bin/sh -c bash -c "python3 -m pip install --upgrade pip wheel && python3 -m pip install pyyaml psutil && dnf remove -y gcc python39-devel" # buildkit
                        
# 2024-10-20 14:28:08  18.00B 执行命令并创建新的镜像层
RUN /bin/sh -c ln -s /usr/bin/python3.9 /usr/local/bin/python3 # buildkit
                        
# 2024-10-20 14:28:08  899.71MB 执行命令并创建新的镜像层
RUN /bin/sh -c dnf update -y --setopt=install_weak_deps=0 &&     dnf install -y --setopt=install_weak_deps=0      mongodb-org-7.0.3-0.1.rc1.el8 mongodb-org-database-7.0.3-0.1.rc1.el8     mongodb-org-server-7.0.3-0.1.rc1.el8     mongodb-org-mongos-7.0.3-0.1.rc1.el8 mongodb-org-tools-7.0.3-0.1.rc1.el8     python3.9 python39-devel python39-pip gcc wget     hostname nss_wrapper procps &&     dnf clean all # buildkit
                        
# 2024-10-20 14:27:38  203.00B 复制新文件或目录到容器中
COPY mongodb-org.repo /etc/yum.repos.d/ # buildkit
                        
# 2024-10-20 14:27:38  149.00B 复制新文件或目录到容器中
COPY mongodb-org-rc.repo /etc/yum.repos.d/ # buildkit
                        
# 2024-10-20 14:27:38  0.00B 添加元数据标签
LABEL name=MongoDB Base version=7.0.3-rc1 summary=MongoDB Base Container description=Container with all MongoDB packages installed vendor=MongoDB maintainer=support@mongodb.com
                        
# 2024-09-17 21:54:48  204.95MB 
/bin/sh -c mv -fZ /tmp/ubi.repo /etc/yum.repos.d/ubi.repo || :
                        
# 2024-09-17 21:54:46  0.00B 
/bin/sh -c rm -f /tmp/tls-ca-bundle.pem
                        
# 2024-09-17 21:54:45  0.00B 
/bin/sh -c rm -f '/etc/yum.repos.d/repo-fd4c2.repo' '/etc/yum.repos.d/repo-0c0b0.repo'
                        
# 2024-09-17 21:54:44  0.00B 
/bin/sh -c #(nop) LABEL "distribution-scope"="public" "vendor"="Red Hat, Inc." "build-date"="2024-09-17T13:47:26" "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-1088"
                        
# 2024-09-17 21:54:44  0.00B 
/bin/sh -c #(nop) ADD file:4fa43a6f055809d485af8af23f1b38f5c7071aba2f83b727df00a3edda3bdb95 in /root/buildinfo/Dockerfile-ubi8-8.10-1088 
                        
# 2024-09-17 21:54:44  0.00B 
/bin/sh -c #(nop) ADD file:04fde75d164b25334ef4f694c04e44a9cbbb0fdf8008c45388471c07995351ff in /root/buildinfo/content_manifests/ubi8-container-8.10-1088.json 
                        
# 2024-09-17 21:54:44  0.00B 
/bin/sh -c #(nop) LABEL release=1088
                        
# 2024-09-17 21:54:44  0.00B 
/bin/sh -c mkdir -p /var/log/rhsm
                        
# 2024-09-17 21:54:43  0.00B 
/bin/sh -c rm -rf /var/log/*
                        
# 2024-09-17 21:54:42  0.00B 
/bin/sh -c #(nop) CMD ["/bin/bash"]
                        
# 2024-09-17 21:54:42  0.00B 
/bin/sh -c #(nop) ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2024-09-17 21:54:42  0.00B 
/bin/sh -c #(nop) ENV container oci
                        
# 2024-09-17 21:54:42  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.tags="base rhel8"
                        
# 2024-09-17 21:54:42  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
                        
# 2024-09-17 21:54:42  0.00B 
/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 8"
                        
# 2024-09-17 21:54:42  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-09-17 21:54:42  0.00B 
/bin/sh -c #(nop) LABEL summary="Provides the latest release of Red Hat Universal Base Image 8."
                        
# 2024-09-17 21:54:42  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-09-17 21:54:42  0.00B 
/bin/sh -c #(nop) LABEL com.redhat.component="ubi8-container"       name="ubi8"       version="8.10"
                        
# 2024-09-17 21:54:42  0.00B 
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc."
                        
# 2024-09-17 21:54:42  0.00B 
/bin/sh -c #(nop) ADD multi:3145d5eb48d70d77e0b1a5a3fc70b97071cff0522aabe7ce4b9257b981116258 in /etc/yum.repos.d/ 
                        
# 2024-09-17 21:54:42  0.00B 
/bin/sh -c #(nop) ADD file:5b1f650e1376d79fa3a65df4a154ea5166def95154b52c1c1097dfd8fc7d58eb in /tmp/tls-ca-bundle.pem 
                        
# 2024-09-17 21:54:42  0.00B 
/bin/sh -c mv -f /etc/yum.repos.d/ubi.repo /tmp || :
                        
# 2024-09-17 21:54:41  0.00B 
/bin/sh -c #(nop) ADD file:42043602b4022774f72ea3748a05440acea35bdccf3fb2f32d2a0a5b2dfa3329 in / 
                        
                    

镜像信息

{
    "Id": "sha256:f60de1b75a1c5c42bd768dd652ecd578a2cd9b93251c03face432ecb6379621e",
    "RepoTags": [
        "mongodb/mongodb-community-server:7.0.3-rc1-ubi8",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:7.0.3-rc1-ubi8"
    ],
    "RepoDigests": [
        "mongodb/mongodb-community-server@sha256:e7fa71eaf370b90b5abaa422b9d14094694f35fbddc215e0b3260c417fc99900",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server@sha256:fc9ebc32c807e11dbb361651c5b1db4e95ec3e0033e3d4389f5a5cb438d8cc9c"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-10-20T06:28:16.239413937Z",
    "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-09-17T13:47:26",
            "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.29.0",
            "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": "1088",
            "summary": "MongoDB Standalone Container",
            "url": "https://access.redhat.com/containers/#/registry.access.redhat.com/ubi8/images/8.10-1088",
            "vcs-ref": "967861a8dbbb288b8cec9f1fee7ccbf6c7ee9a20",
            "vcs-type": "git",
            "vendor": "MongoDB",
            "version": "7.0.3-rc1"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 1155560485,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/055c5899e7715326b5d6547dbbc716fc0246a600e94131abcb9213bdb6f622a5/diff:/var/lib/docker/overlay2/67f0a6082950be4ef5d7f300180d768265bcff5f24624a6b8d678b64fc751de8/diff:/var/lib/docker/overlay2/3d03174b7ce0bbc264676ed41c95689e9b315bb2f6c0112a72cef679052a3402/diff:/var/lib/docker/overlay2/86a8c6f0f7f57a9e0a352d33afc3d4ea0e3837ac8d6842a255ca95ae4d656429/diff:/var/lib/docker/overlay2/158acece5338cb8bd9ca0cce31ac39e7d130c318276c434e8504a2d21e75a73c/diff:/var/lib/docker/overlay2/f2c82fd5bcb1c12740d11ba87c2ab1809cf1cffa28a7d0100ed6fa1a901a792a/diff:/var/lib/docker/overlay2/51747e5f0a5d61930887f69322523136097a584f8e31ad72d0fa48c1981ff625/diff:/var/lib/docker/overlay2/efaf3385220be10773b537bf4d1fe5ab0b2cc6e078effcb2deea3221057a78e1/diff:/var/lib/docker/overlay2/e3d934bc7dcf40102dd3cbf9de624152af9e407a20ef13688bd42f8c5154034e/diff:/var/lib/docker/overlay2/aa53f59b5d4e80c04c2dde6808ba816cedbce6957f062efe77e35fa5bc804d5a/diff",
            "MergedDir": "/var/lib/docker/overlay2/a64ac2fc389a6b591c6a0d95ce3524cb2ee7590b04cc3d6799e09a09c65e6b27/merged",
            "UpperDir": "/var/lib/docker/overlay2/a64ac2fc389a6b591c6a0d95ce3524cb2ee7590b04cc3d6799e09a09c65e6b27/diff",
            "WorkDir": "/var/lib/docker/overlay2/a64ac2fc389a6b591c6a0d95ce3524cb2ee7590b04cc3d6799e09a09c65e6b27/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:4493ee5cf8cfa18acc3fc80e5f0fdd98bd3c6bdbf3807320b2b87cc9730b7023",
            "sha256:79d8806cb01c8977d0933fae11c8079d6391d1d19d426e1fd849ad62eb5c741b",
            "sha256:2ed9765da1c56c06af648fca995f1d8f26dedfdf1017f2e86237f7455b5ba7fa",
            "sha256:17a9843dcb77cea86f0161ed76f95c3901da95eb4860b55d4151115fce1167a0",
            "sha256:d3aec9368c7bed2d97bf8fd4dd5c21ac935cc2bb7564dba97281ea8edffbcd13",
            "sha256:43dfe4b5471cb46ebcd6f296c95a57e0288097e23196aa506d8d75bc75fe9e34",
            "sha256:676cbeb291eb01adb781986348cdf3bca219d7935f22f89254c90cf673eecd15",
            "sha256:85c4bec3a3c44b8a210a50cd4d4f233e994d005a13efb26c95433daebaf9b898",
            "sha256:a9c2df7aaed6508e27fd0b6eecacf6525b61af35b70f57f94d6bec0f18cbc3cc",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:c5431f8034a2597548838a766c7d5bbba22604391cd3de6d2cb1e71f25617287"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-21T16:08:14.528562013+08:00"
    }
}

更多版本

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

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

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

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

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

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