logo
docker.io/mongodb/mongodb-community-server:8.0.34-ubi8-slim
linux/amd64 docker.io 幸福已至🦁 贡献

MongoDB 社区版服务器

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

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

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

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

17
浏览次数
609.04MB
镜像大小
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:8.0.34-ubi8-slim
源镜像
docker.io/mongodb/mongodb-community-server:8.0.34-ubi8-slim
镜像ID
sha256:32f3b378bc9a58f2283ea6fe46045976f80561db0f417ba737b6300b88c3a2c9
镜像 TAG
8.0.34-ubi8-slim
镜像大小
609.04MB
平台架构
linux/amd64
镜像源
docker.io
CMD
mongod
启动入口
/usr/local/bin/docker-entrypoint
工作目录
/
OS/平台
linux/amd64
镜像创建
2026-10-17T06:20:53.746722578Z
同步时间
2026-10-18 06:57
浏览量
17 次
贡献者
avatar 幸福已至🦁
🔌 开放端口 1
27017/tcp
📁 目录挂载 2
 /data/configdb  /data/db
⚙️ 环境变量 3
KeyValue
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 0
HOME=/data/db 1
GLIBC_TUNABLES=glibc.pthread.rseq=0 2
🏷️ 镜像标签 22
KeyValue
x86_64 architecture
2026-10-13T11:32:03Z 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.45.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-10-13T11:32:03Z org.opencontainers.image.created
69a0fe91ee3ea61da9cf3fc572ad09092a4243e7 org.opencontainers.image.revision
1791891094 release
MongoDB Standalone Container summary
https://catalog.redhat.com/en/search?searchType=containers url
69a0fe91ee3ea61da9cf3fc572ad09092a4243e7 vcs-ref
git vcs-type
MongoDB vendor
8.0.34 version

Docker拉取命令

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

Containerd拉取命令

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

Shell快速替换命令

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

镜像构建历史


# 2026-10-17 14:20:53  0.00B 设置默认要执行的命令
CMD ["mongod"]
                        
# 2026-10-17 14:20:53  0.00B 声明容器运行时监听的端口
EXPOSE map[27017/tcp:{}]
                        
# 2026-10-17 14:20:53  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["/usr/local/bin/docker-entrypoint"]
                        
# 2026-10-17 14:20:53  0.00B 设置环境变量 GLIBC_TUNABLES
ENV GLIBC_TUNABLES=glibc.pthread.rseq=0
                        
# 2026-10-17 14:20:53  0.00B 指定运行容器时使用的用户
USER mongod
                        
# 2026-10-17 14:20:53  0.00B 设置环境变量 HOME
ENV HOME=/data/db
                        
# 2026-10-17 14:20:53  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/data/db /data/configdb]
                        
# 2026-10-17 14:20:53  0.00B 复制新文件或目录到容器中
COPY /data /data # buildkit
                        
# 2026-10-17 14:20:53  433.00B 复制新文件或目录到容器中
COPY /etc/group /etc/group # buildkit
                        
# 2026-10-17 14:20:53  802.00B 复制新文件或目录到容器中
COPY /etc/passwd /etc/passwd # buildkit
                        
# 2026-10-17 14:20:53  155.00B 复制新文件或目录到容器中
COPY /licenses /licenses # buildkit
                        
# 2026-10-17 14:20:53  173.08MB 复制新文件或目录到容器中
COPY /usr/bin/mongos /usr/bin/mongos # buildkit
                        
# 2026-10-17 14:20:53  169.15MB 复制新文件或目录到容器中
COPY /usr/bin/mongosh /usr/bin/mongosh # buildkit
                        
# 2026-10-17 14:20:53  223.12MB 复制新文件或目录到容器中
COPY /usr/bin/mongod /usr/bin/mongod # buildkit
                        
# 2026-10-17 14:20:53  14.30MB 复制新文件或目录到容器中
COPY /libs/ /usr/lib64/ # buildkit
                        
# 2026-10-17 14:20:53  4.19MB 复制新文件或目录到容器中
COPY /docker-entrypoint/target/release/docker-entrypoint /usr/local/bin/docker-entrypoint # buildkit
                        
# 2026-10-17 14:20:53  0.00B 添加元数据标签
LABEL name=MongoDB Standalone version=8.0.34 summary=MongoDB Standalone Container description=Container configured with a standalone instance of MongoDB vendor=MongoDB maintainer=support@mongodb.com
                        
# 2026-10-13 19:32:15  25.21MB 
/bin/sh -c #(nop) LABEL "org.opencontainers.image.created"="2026-10-13T11:32:03Z" "org.opencontainers.image.revision"="69a0fe91ee3ea61da9cf3fc572ad09092a4243e7" "build-date"="2026-10-13T11:32:03Z" "architecture"="x86_64" "vcs-ref"="69a0fe91ee3ea61da9cf3fc572ad09092a4243e7" "vcs-type"="git" "release"="1791891094"org.opencontainers.image.created=2026-10-13T11:32:03Z,org.opencontainers.image.revision=69a0fe91ee3ea61da9cf3fc572ad09092a4243e7
                        
# 2026-10-13 19:32:15  0.00B 
/bin/sh -c #(nop) COPY dir:f4f39be78d283568ab0614ac8f5038d08a38891c4842906f669d1e0fdf960b7b in /root/buildinfo/      
                        
# 2026-10-13 19:32:15  0.00B 
/bin/sh -c #(nop) COPY dir:f4f39be78d283568ab0614ac8f5038d08a38891c4842906f669d1e0fdf960b7b in /usr/share/buildinfo/      
                        
# 2026-10-13 19:32:14  0.00B 
/bin/sh -c #(nop) CMD /bin/sh
                        
# 2026-10-13 19:32:14  0.00B 
/bin/sh -c #(nop) COPY file:67f65df33ff6c09984969b192c50b78072a88c5655e380e734315d0229c75aa1 in /etc/yum.repos.d/      
                        
# 2026-10-13 19:32:14  0.00B 
/bin/sh -c #(nop) COPY dir:1134a304bc0e900a8581a0dfb8fde40aee00ccbf042e3787b0eb67b1ec11b830 in /      
                        
# 2026-10-13 19:32:14  0.00B 
/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
                        
# 2026-10-13 19:32:14  0.00B 
/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 8 Micro"
                        
# 2026-10-13 19:32:14  0.00B 
/bin/sh -c #(nop) LABEL io.k8s.description="Very small image which doesn't install the package manager."
                        
# 2026-10-13 19:32:14  0.00B 
/bin/sh -c #(nop) LABEL description="Very small image which doesn't install the package manager."
                        
# 2026-10-13 19:32:14  0.00B 
/bin/sh -c #(nop) LABEL summary="ubi8 micro image"
                        
# 2026-10-13 19:32:14  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-10-13 19:32:14  0.00B 
/bin/sh -c #(nop) LABEL distribution-scope="public"
                        
# 2026-10-13 19:32:14  0.00B 
/bin/sh -c #(nop) LABEL cpe="cpe:/a:redhat:enterprise_linux:8::appstream"
                        
# 2026-10-13 19:32:14  0.00B 
/bin/sh -c #(nop) LABEL version="8.10"
                        
# 2026-10-13 19:32:14  0.00B 
/bin/sh -c #(nop) LABEL name="ubi8/ubi-micro"
                        
# 2026-10-13 19:32:14  0.00B 
/bin/sh -c #(nop) LABEL com.redhat.component="ubi8-micro-container"
                        
# 2026-10-13 19:32:13  0.00B 
/bin/sh -c #(nop) LABEL url="https://catalog.redhat.com/en/search?searchType=containers"
                        
# 2026-10-13 19:32:13  0.00B 
/bin/sh -c #(nop) LABEL vendor="Red Hat, Inc."
                        
# 2026-10-13 19:32:13  0.00B 
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc."
                        
                    

镜像信息

{
    "Id": "sha256:32f3b378bc9a58f2283ea6fe46045976f80561db0f417ba737b6300b88c3a2c9",
    "RepoTags": [
        "mongodb/mongodb-community-server:8.0.34-ubi8-slim",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server:8.0.34-ubi8-slim"
    ],
    "RepoDigests": [
        "mongodb/mongodb-community-server@sha256:ff76314c7470ee06364eb1b3b115223e7ade1642a98654717b8405d28444c4aa",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongodb/mongodb-community-server@sha256:ccd9385786c40e7517002fd71a50819b34d282a7bd262cb9506c34cc719713e7"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2026-10-17T06:20:53.746722578Z",
    "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",
            "GLIBC_TUNABLES=glibc.pthread.rseq=0"
        ],
        "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-10-13T11:32:03Z",
            "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.45.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-10-13T11:32:03Z",
            "org.opencontainers.image.revision": "69a0fe91ee3ea61da9cf3fc572ad09092a4243e7",
            "release": "1791891094",
            "summary": "MongoDB Standalone Container",
            "url": "https://catalog.redhat.com/en/search?searchType=containers",
            "vcs-ref": "69a0fe91ee3ea61da9cf3fc572ad09092a4243e7",
            "vcs-type": "git",
            "vendor": "MongoDB",
            "version": "8.0.34"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 609041385,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/7fbaff3dbe35af3676cbda2602c3ba304efb6c7a1a35f5ca10620331c37553cd/diff:/var/lib/docker/overlay2/a713dda70013bfddb78fd2f0ef72a0104f850186247f16c6677d7085ee60f669/diff:/var/lib/docker/overlay2/00c661f851d74b59868f6384329d5791573f509ce0f67ecd0f327789d7f50e5b/diff:/var/lib/docker/overlay2/b733425db0891e39f3c2e2be720c736bf89466fdc32a4a5fa2ba3667e0b21d8e/diff:/var/lib/docker/overlay2/bb370e1f882a807014ea14a345b7aaa24873c51458964ad593729487c8f61926/diff:/var/lib/docker/overlay2/af6023f3206fb892890598dc958d28092ed2f8c815e24572a4e4a199e6ed6841/diff:/var/lib/docker/overlay2/2040f7ac6b8e484e47f8f68839efe9e1e726b386de10a0fa18e23a8e985b19f7/diff:/var/lib/docker/overlay2/87a722332cbfac69bd57646a1d9a332fae19b05be53e3a9a1066a83de06c54af/diff:/var/lib/docker/overlay2/e23e8239c93ae5e1b52db7169f5d21d40e5a18b0cc44756ab1184c641d0c5b4e/diff",
            "MergedDir": "/var/lib/docker/overlay2/27ae875632a36ca94a9888941984d513677cf132e46a0d60d20af87d510df8ec/merged",
            "UpperDir": "/var/lib/docker/overlay2/27ae875632a36ca94a9888941984d513677cf132e46a0d60d20af87d510df8ec/diff",
            "WorkDir": "/var/lib/docker/overlay2/27ae875632a36ca94a9888941984d513677cf132e46a0d60d20af87d510df8ec/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:a697c0d3555e813f968e7c076b76747c871599953522dacea284683f95d980f2",
            "sha256:c9502941ed2ad2ad9e18f32b30ec49d9a0a7dbf16d8ae3dd149125801bea84ee",
            "sha256:b2883457f68bfe43af858c4eb16d6b2e85dfb617524a618ad987623fd40e2954",
            "sha256:d29cc490d884b3b14ad66187ff19bad3a0847aca29aaef46ac97ed694852afbd",
            "sha256:c4c3b54a5c84e3ef7a353efc113276a582869eeca67950294767512f9346fab7",
            "sha256:086528d5af495492965b33cea7e76c766cfa0ff6e98b495cb16f74ede97bbb7e",
            "sha256:9dd8eddf214eb29b9c1ad56c78b88ccb8d10f753a35deb4dc65fe4d1e6f330a0",
            "sha256:d92bfebfa931243aea93520434bb2def1f3255a6b6c994e7985a807d87a20e7e",
            "sha256:2e04913087c0646439e1f57221e783b99784c8cd9ba076c169ffe9d0b63177bb",
            "sha256:aa1d4fd03ae86198822946d18815b585535f2c5b18bc5d5b721c9ca7964eb738"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-10-18T06:56:57.126109154+08:00"
    }
}

更多版本

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

linux/amd64 docker.io362.07MB2026-07-18 19:10
173

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

linux/arm64 docker.io588.34MB2026-08-10 17:36
124

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

linux/amd64 docker.io608.60MB2026-08-28 20:25
122

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

linux/amd64 docker.io609.04MB2026-10-18 06:57
16

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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