logo
docker.io/mongodb/mongodb-community-server:4.4-ubi8-slim
linux/amd64 docker.io

MongoDB 社区版服务器

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

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

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

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

13
浏览次数
362.07MB
镜像大小
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:4.4-ubi8-slim
源镜像
docker.io/mongodb/mongodb-community-server:4.4-ubi8-slim
镜像ID
sha256:469158a6cb42cfb87afd505b5b84cd390baeafe6822f0f2ffd4c24db1efe3c5e
镜像 TAG
4.4-ubi8-slim
镜像大小
362.07MB
平台架构
linux/amd64
镜像源
docker.io
CMD
mongod
启动入口
/usr/local/bin/docker-entrypoint
工作目录
/
OS/平台
linux/amd64
镜像创建
2026-07-18T06:19:27.706066579Z
同步时间
2026-07-18 19:10
浏览量
13 次
贡献者
🔌 开放端口 1
27017/tcp
📁 目录挂载 2
 /data/configdb  /data/db
⚙️ 环境变量 2
KeyValue
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 0
HOME=/data/db 1
🏷️ 镜像标签 22
KeyValue
x86_64 architecture
2026-06-30T09:06:59Z build-date
ubi8-micro-container com.redhat.component
https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI com.redhat.license_terms
cpe:/a:redhat:enterprise_linux:8::appstream cpe
Container configured with a standalone instance of MongoDB description
public distribution-scope
1.44.0 io.buildah.version
Very small image which doesn't install the package manager. io.k8s.description
Red Hat Universal Base Image 8 Micro io.k8s.display-name
io.openshift.expose-services
support@mongodb.com maintainer
MongoDB Standalone name
2026-06-30T09:06:59Z org.opencontainers.image.created
0fed555675215521c31118a2b8ecf9ca29efa329 org.opencontainers.image.revision
1782810378 release
MongoDB Standalone Container summary
https://catalog.redhat.com/en/search?searchType=containers url
0fed555675215521c31118a2b8ecf9ca29efa329 vcs-ref
git vcs-type
MongoDB vendor
4.4.31 version
🛡️ 镜像安全扫描
redhat 8.10 Trivy 2026-07-18 19:10 查看完整报告
25
低危 LOW
15
中危 MEDIUM
1
高危 HIGH
0
严重 CRITICAL
受影响目标 (1)
docker.io/mongodb/mongodb-community-server:4.4-ubi8-slim (redhat 8.10) redhat

Docker拉取命令

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:4.4-ubi8-slim && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:4.4-ubi8-slim  docker.io/mongodb/mongodb-community-server:4.4-ubi8-slim'

镜像构建历史


# 2026-07-18 14:19:27  0.00B 设置默认要执行的命令
CMD ["mongod"]
                        
# 2026-07-18 14:19:27  0.00B 声明容器运行时监听的端口
EXPOSE map[27017/tcp:{}]
                        
# 2026-07-18 14:19:27  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/usr/local/bin/docker-entrypoint"]
                        
# 2026-07-18 14:19:27  0.00B 指定运行容器时使用的用户
USER mongod
                        
# 2026-07-18 14:19:27  0.00B 设置环境变量 HOME
ENV HOME=/data/db
                        
# 2026-07-18 14:19:27  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/data/db /data/configdb]
                        
# 2026-07-18 14:19:27  0.00B 复制新文件或目录到容器中
COPY /data /data # buildkit
                        
# 2026-07-18 14:19:27  433.00B 复制新文件或目录到容器中
COPY /etc/group /etc/group # buildkit
                        
# 2026-07-18 14:19:27  802.00B 复制新文件或目录到容器中
COPY /etc/passwd /etc/passwd # buildkit
                        
# 2026-07-18 14:19:27  155.00B 复制新文件或目录到容器中
COPY /licenses /licenses # buildkit
                        
# 2026-07-18 14:19:27  65.79MB 复制新文件或目录到容器中
COPY /usr/bin/mongos /usr/bin/mongos # buildkit
                        
# 2026-07-18 14:19:27  169.15MB 复制新文件或目录到容器中
COPY /usr/bin/mongosh /usr/bin/mongosh # buildkit
                        
# 2026-07-18 14:19:27  83.42MB 复制新文件或目录到容器中
COPY /usr/bin/mongod /usr/bin/mongod # buildkit
                        
# 2026-07-18 14:19:27  14.30MB 复制新文件或目录到容器中
COPY /libs/ /usr/lib64/ # buildkit
                        
# 2026-07-18 14:19:27  4.22MB 复制新文件或目录到容器中
COPY /docker-entrypoint/target/release/docker-entrypoint /usr/local/bin/docker-entrypoint # buildkit
                        
# 2026-07-18 14:19:27  0.00B 添加元数据标签
LABEL name=MongoDB Standalone version=4.4.31 summary=MongoDB Standalone Container description=Container configured with a standalone instance of MongoDB vendor=MongoDB maintainer=support@mongodb.com
                        
# 2026-06-30 17:07:10  25.19MB 
/bin/sh -c #(nop) LABEL "org.opencontainers.image.created"="2026-06-30T09:06:59Z" "org.opencontainers.image.revision"="0fed555675215521c31118a2b8ecf9ca29efa329" "build-date"="2026-06-30T09:06:59Z" "architecture"="x86_64" "vcs-ref"="0fed555675215521c31118a2b8ecf9ca29efa329" "vcs-type"="git" "release"="1782810378"org.opencontainers.image.created=2026-06-30T09:06:59Z,org.opencontainers.image.revision=0fed555675215521c31118a2b8ecf9ca29efa329
                        
# 2026-06-30 17:07:10  0.00B 
/bin/sh -c #(nop) COPY dir:c8ed15507bdc411f8bc78864f77b74cc9ad74071ce9976e965e7bdf2711bdf6c in /root/buildinfo/      
                        
# 2026-06-30 17:07:10  0.00B 
/bin/sh -c #(nop) COPY dir:c8ed15507bdc411f8bc78864f77b74cc9ad74071ce9976e965e7bdf2711bdf6c in /usr/share/buildinfo/      
                        
# 2026-06-30 17:07:10  0.00B 
/bin/sh -c #(nop) CMD /bin/sh
                        
# 2026-06-30 17:07:10  0.00B 
/bin/sh -c #(nop) COPY file:67f65df33ff6c09984969b192c50b78072a88c5655e380e734315d0229c75aa1 in /etc/yum.repos.d/      
                        
# 2026-06-30 17:07:09  0.00B 
/bin/sh -c #(nop) COPY dir:220a6a3aaab1ea605bcecb8f11d15d22f185966fc0ebdc1bdc236093f0c5ab7a in /      
                        
# 2026-06-30 17:07:09  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
                        
# 2026-06-30 17:07:09  0.00B 
/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 8 Micro"
                        
# 2026-06-30 17:07:09  0.00B 
/bin/sh -c #(nop) LABEL io.k8s.description="Very small image which doesn't install the package manager."
                        
# 2026-06-30 17:07:09  0.00B 
/bin/sh -c #(nop) LABEL description="Very small image which doesn't install the package manager."
                        
# 2026-06-30 17:07:09  0.00B 
/bin/sh -c #(nop) LABEL summary="ubi8 micro image"
                        
# 2026-06-30 17:07:09  0.00B 
/bin/sh -c #(nop) LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
                        
# 2026-06-30 17:07:09  0.00B 
/bin/sh -c #(nop) LABEL distribution-scope="public"
                        
# 2026-06-30 17:07:09  0.00B 
/bin/sh -c #(nop) LABEL cpe="cpe:/a:redhat:enterprise_linux:8::appstream"
                        
# 2026-06-30 17:07:09  0.00B 
/bin/sh -c #(nop) LABEL version="8.10"
                        
# 2026-06-30 17:07:09  0.00B 
/bin/sh -c #(nop) LABEL name="ubi8/ubi-micro"
                        
# 2026-06-30 17:07:09  0.00B 
/bin/sh -c #(nop) LABEL com.redhat.component="ubi8-micro-container"
                        
# 2026-06-30 17:07:09  0.00B 
/bin/sh -c #(nop) LABEL url="https://catalog.redhat.com/en/search?searchType=containers"
                        
# 2026-06-30 17:07:09  0.00B 
/bin/sh -c #(nop) LABEL vendor="Red Hat, Inc."
                        
# 2026-06-30 17:07:09  0.00B 
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc."
                        
                    

镜像信息

{
    "Id": "sha256:469158a6cb42cfb87afd505b5b84cd390baeafe6822f0f2ffd4c24db1efe3c5e",
    "RepoTags": [
        "mongodb/mongodb-community-server:4.4-ubi8-slim",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:4.4-ubi8-slim"
    ],
    "RepoDigests": [
        "mongodb/mongodb-community-server@sha256:7faabd20d2f6cd505585277e75680620d2536bc2668df199db83bdb2712eb388",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server@sha256:945127f04f874259264b4fe8a72efaf9040bb1b8fd5445a82545a800f98370f2"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2026-07-18T06:19:27.706066579Z",
    "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",
            "HOME=/data/db"
        ],
        "Cmd": [
            "mongod"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/data/configdb": {},
            "/data/db": {}
        },
        "WorkingDir": "/",
        "Entrypoint": [
            "/usr/local/bin/docker-entrypoint"
        ],
        "OnBuild": null,
        "Labels": {
            "architecture": "x86_64",
            "build-date": "2026-06-30T09:06:59Z",
            "com.redhat.component": "ubi8-micro-container",
            "com.redhat.license_terms": "https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI",
            "cpe": "cpe:/a:redhat:enterprise_linux:8::appstream",
            "description": "Container configured with a standalone instance of MongoDB",
            "distribution-scope": "public",
            "io.buildah.version": "1.44.0",
            "io.k8s.description": "Very small image which doesn't install the package manager.",
            "io.k8s.display-name": "Red Hat Universal Base Image 8 Micro",
            "io.openshift.expose-services": "",
            "maintainer": "support@mongodb.com",
            "name": "MongoDB Standalone",
            "org.opencontainers.image.created": "2026-06-30T09:06:59Z",
            "org.opencontainers.image.revision": "0fed555675215521c31118a2b8ecf9ca29efa329",
            "release": "1782810378",
            "summary": "MongoDB Standalone Container",
            "url": "https://catalog.redhat.com/en/search?searchType=containers",
            "vcs-ref": "0fed555675215521c31118a2b8ecf9ca29efa329",
            "vcs-type": "git",
            "vendor": "MongoDB",
            "version": "4.4.31"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 362072055,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/d43a57e837a46e42980b3120853be31d6479d2b2f5b707cccf5205819224f138/diff:/var/lib/docker/overlay2/d4c2f20989a23245a7a4b8d0026b6fbcd1313eefdfaecd308b55f588a347d7a5/diff:/var/lib/docker/overlay2/d6e0898812855a4c37f0fbbe89c434f9f4167bf394c0e5e6204f30aa3971e7d7/diff:/var/lib/docker/overlay2/c308bbaccf71afb2a73aaf90a58bc43be005ed5ba753c11b2e65b5d80fadd52b/diff:/var/lib/docker/overlay2/e1b8fed5d9b5afc49fe3011c36fecca70cd9b6db1c7b1a2358f3aae70406f71e/diff:/var/lib/docker/overlay2/ef838db64c8713dfc3aab826fbc7d758b262f4e0e1c44415b52561c614c621e8/diff:/var/lib/docker/overlay2/87410f123035b6c69e097cd43e08298c9f0933397936cdbd6a581e54eb9a857d/diff:/var/lib/docker/overlay2/8588a2615719f0b288fc7df74eaaef2b2bf176d7faaa4655abe0eaa892e2dcc8/diff:/var/lib/docker/overlay2/7530935c21bd8404ea2af0f64fc4faea725678fc789cb520a2c8843b845d4e93/diff",
            "MergedDir": "/var/lib/docker/overlay2/0986697fd0a180372a9d85818a8d955a6e73d6e9e5eda0e436fcec52abd2e86a/merged",
            "UpperDir": "/var/lib/docker/overlay2/0986697fd0a180372a9d85818a8d955a6e73d6e9e5eda0e436fcec52abd2e86a/diff",
            "WorkDir": "/var/lib/docker/overlay2/0986697fd0a180372a9d85818a8d955a6e73d6e9e5eda0e436fcec52abd2e86a/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:c3d5b8456e592404116874fc29956266c89d948a87921e174b97858437fca4bf",
            "sha256:78fda6fbac0f082ff973732efd992d1e236a4e9b1143652f36c5c41a913252be",
            "sha256:2f9fa177a6a0437a2bcbf6c4ec3815cd98f23d2fbcc443887f2c7b82a203467f",
            "sha256:2f32efddbf3f1c7bf3b8a6a590b293b67a262f8f702141d3c237bb72af04e77f",
            "sha256:2c52e059a154467bdfee597af774f60c99e1e7cf23d1ee6397a628caadc53322",
            "sha256:795593474be624eae4689aafd234d93a0a3cc4e1f154104266504c4852cf0c17",
            "sha256:c950cab36724631f27d9306b3c70bbf71eb7dae2d5e90296a8cef5fd82f81147",
            "sha256:5bdb6ac719c23d11daa4dfb3222fb6a9827c09ffe5c13461dd40ffdba8615a9e",
            "sha256:02336f159ea0461c7b57a26c3fc16331b2b34daf4b6a4109f6b2996074cc9e2e",
            "sha256:35abb74a9d6ecfe32cb665173f6d88bb67f89072287d4f0870fe620a850a5e2a"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-07-18T19:10:11.918859923+08:00"
    }
}

更多版本

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

linux/amd64 docker.io1.22GB2025-07-14 14:38
780

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

linux/amd64 docker.io1.33GB2025-07-24 17:28
562

docker.io/mongodb/mongodb-community-server:7.0.24-rc0-ubuntu2204

linux/amd64 docker.io1.26GB2025-09-04 09:39
462

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

linux/amd64 docker.io1.33GB2025-09-05 12:20
431

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

linux/amd64 docker.io1.22GB2025-09-26 19:00
545

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

linux/arm64 docker.io1.20GB2025-09-26 19:03
493

docker.io/mongodb/mongodb-community-server:8.2.1-rc1-ubuntu2204

linux/amd64 docker.io1.34GB2025-10-10 07:35
469

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

linux/amd64 docker.io1.25GB2025-12-05 22:25
500

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

linux/arm64 docker.io1.14GB2025-12-06 13:20
331

docker.io/mongodb/mongodb-community-server:latest

linux/amd64 docker.io1.35GB2025-12-22 10:12
665

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

linux/amd64 docker.io1.34GB2025-12-22 11:02
1816

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

linux/amd64 docker.io1.21GB2025-12-26 11:22
349

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

linux/amd64 docker.io1.35GB2026-01-05 16:25
453

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

linux/amd64 docker.io1.34GB2026-01-05 16:28
1462

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

linux/amd64 docker.io849.58MB2026-01-09 20:40
355

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

linux/amd64 docker.io1.25GB2026-01-26 12:24
311

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

linux/amd64 docker.io871.08MB2026-01-30 22:57
343

docker.io/mongodb/mongodb-community-server:8.2.6-ubuntu2204-slim

linux/amd64 docker.io722.26MB2026-04-01 15:57
411

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

linux/amd64 docker.io829.40MB2026-06-19 23:29
184

docker.io/mongodb/mongodb-community-server:7.0.37-ubi9-slim

linux/amd64 docker.io529.27MB2026-07-03 17:24
61

docker.io/mongodb/mongodb-community-server:4.4-ubi8-slim

linux/amd64 docker.io362.07MB2026-07-18 19:10
12
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×