docker.io/mongo:7.0.9 linux/arm64

docker.io/mongo:7.0.9 - 国内下载镜像源 浏览次数:41 安全受验证的发布者-Mongo 温馨提示: 这是一个 linux/arm64 系统架构镜像
🚀
MongoDB 是一个开源的 NoSQL 文档数据库管理系统。该镜像用于运行 MongoDB 服务,可以用来存储和处理大量数据。
源镜像 docker.io/mongo:7.0.9
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo:7.0.9-linuxarm64
镜像ID sha256:5c06ba83b1d2680952de1a543a44eb21131eab72c9a0f86e956d3d251cc9ba63
镜像TAG 7.0.9-linuxarm64
大小 759.52MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mongod
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/arm64
浏览量 41 次
贡献者
镜像创建 2024-04-27T00:09:59Z
同步时间 2025-01-07 16:53
更新时间 2025-01-18 15:36
开放端口
27017/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOSU_VERSION=1.17 JSYAML_VERSION=3.13.1 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org MONGO_MAJOR=7.0 MONGO_VERSION=7.0.9 HOME=/data/db
镜像标签
ubuntu: org.opencontainers.image.ref.name 22.04: org.opencontainers.image.version
镜像安全扫描 查看Trivy扫描报告

系统OS: ubuntu 22.04 扫描引擎: Trivy 扫描时间: 2025-01-07 16:53

低危漏洞:46 中危漏洞:57 高危漏洞:31 严重漏洞:3

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo:7.0.9-linuxarm64
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo:7.0.9-linuxarm64  docker.io/mongo:7.0.9

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo:7.0.9-linuxarm64
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo:7.0.9-linuxarm64  docker.io/mongo:7.0.9

Shell快速替换命令

sed -i 's#mongo:7.0.9#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo:7.0.9-linuxarm64#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo:7.0.9-linuxarm64 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo:7.0.9-linuxarm64  docker.io/mongo:7.0.9'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo:7.0.9-linuxarm64 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo:7.0.9-linuxarm64  docker.io/mongo:7.0.9'

镜像构建历史


# 2024-04-27 08:09:59  0.00B 设置默认要执行的命令
CMD ["mongod"]
                        
# 2024-04-27 08:09:59  0.00B 声明容器运行时监听的端口
EXPOSE map[27017/tcp:{}]
                        
# 2024-04-27 08:09:59  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2024-04-27 08:09:59  14.17KB 复制新文件或目录到容器中
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
                        
# 2024-04-27 08:09:59  0.00B 设置环境变量 HOME
ENV HOME=/data/db
                        
# 2024-04-27 08:09:59  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/data/db /data/configdb]
                        
# 2024-04-27 08:09:59  682.84MB 执行命令并创建新的镜像层
RUN |2 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org /bin/sh -c set -x 	&& export DEBIAN_FRONTEND=noninteractive 	&& apt-get update 	&& apt-get install -y 		${MONGO_PACKAGE}=$MONGO_VERSION 		${MONGO_PACKAGE}-server=$MONGO_VERSION 		${MONGO_PACKAGE}-shell=$MONGO_VERSION 		${MONGO_PACKAGE}-mongos=$MONGO_VERSION 		${MONGO_PACKAGE}-tools=$MONGO_VERSION 		${MONGO_PACKAGE}-database=$MONGO_VERSION 		${MONGO_PACKAGE}-database-tools-extra=$MONGO_VERSION 	&& rm -rf /var/lib/apt/lists/* 	&& rm -rf /var/lib/mongodb 	&& mv /etc/mongod.conf /etc/mongod.conf.orig # buildkit
                        
# 2024-04-27 08:09:59  0.00B 设置环境变量 MONGO_VERSION
ENV MONGO_VERSION=7.0.9
                        
# 2024-04-27 08:09:59  116.00B 执行命令并创建新的镜像层
RUN |2 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org /bin/sh -c echo "deb [ signed-by=/etc/apt/keyrings/mongodb.asc ] http://$MONGO_REPO/apt/ubuntu jammy/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit
                        
# 2024-04-27 08:09:59  0.00B 设置环境变量 MONGO_MAJOR
ENV MONGO_MAJOR=7.0
                        
# 2024-04-27 08:09:59  0.00B 设置环境变量 MONGO_PACKAGE MONGO_REPO
ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
                        
# 2024-04-27 08:09:59  0.00B 定义构建参数
ARG MONGO_REPO=repo.mongodb.org
                        
# 2024-04-27 08:09:59  0.00B 定义构建参数
ARG MONGO_PACKAGE=mongodb-org
                        
# 2024-04-27 08:09:59  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
                        
# 2024-04-27 08:09:59  2.99MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 		savedAptMark="$(apt-mark showmanual)"; 	apt-get update; 	apt-get install -y --no-install-recommends 		gnupg 		wget 	; 	rm -rf /var/lib/apt/lists/*; 		dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; 	wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; 	wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; 	export GNUPGHOME="$(mktemp -d)"; 	gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; 	gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; 	gpgconf --kill all; 	rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; 		mkdir -p /opt/js-yaml/; 	wget -O /opt/js-yaml/js-yaml.js "https://github.com/nodeca/js-yaml/raw/${JSYAML_VERSION}/dist/js-yaml.js"; 	wget -O /opt/js-yaml/package.json "https://github.com/nodeca/js-yaml/raw/${JSYAML_VERSION}/package.json"; 	ln -s /opt/js-yaml/js-yaml.js /js-yaml.js; 		export GNUPGHOME="$(mktemp -d)"; 	wget -O KEYS 'https://pgp.mongodb.com/server-7.0.asc'; 	gpg --batch --import KEYS; 	mkdir -p /etc/apt/keyrings; 	gpg --batch --export --armor 'E58830201F7DD82CD808AA84160D26BB1785BA38' > /etc/apt/keyrings/mongodb.asc; 	gpgconf --kill all; 	rm -rf "$GNUPGHOME" KEYS; 		apt-mark auto '.*' > /dev/null; 	apt-mark manual $savedAptMark > /dev/null; 	apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; 		chmod +x /usr/local/bin/gosu; 	gosu --version; 	gosu nobody true # buildkit
                        
# 2024-04-27 08:09:59  0.00B 设置环境变量 JSYAML_VERSION
ENV JSYAML_VERSION=3.13.1
                        
# 2024-04-27 08:09:59  0.00B 设置环境变量 GOSU_VERSION
ENV GOSU_VERSION=1.17
                        
# 2024-04-27 08:09:59  4.10MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	apt-get update; 	apt-get install -y --no-install-recommends 		ca-certificates 		jq 		numactl 		procps 	; 	rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2024-04-27 08:09:59  332.57KB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	groupadd --gid 999 --system mongodb; 	useradd --uid 999 --system --gid mongodb --home-dir /data/db mongodb; 	mkdir -p /data/db /data/configdb; 	chown -R mongodb:mongodb /data/db /data/configdb # buildkit
                        
# 2024-04-27 08:09:59  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2024-04-27 08:09:59  69.24MB 
/bin/sh -c #(nop) ADD file:18035d0a8c59e3306bad4219c71a52b03397fc8f231baf7f676287c73024d85c in / 
                        
# 2024-04-27 08:09:59  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=22.04
                        
# 2024-04-27 08:09:59  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2024-04-27 08:09:59  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2024-04-27 08:09:59  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:5c06ba83b1d2680952de1a543a44eb21131eab72c9a0f86e956d3d251cc9ba63",
    "RepoTags": [
        "mongo:7.0.9",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo:7.0.9-linuxarm64"
    ],
    "RepoDigests": [
        "mongo@sha256:97aac78a80553735b3d9b9b7212803468781b4859645f892a3d04e6b621a7b77",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo@sha256:7085027011939006385e3c8a7dfc31035eebbd88fb1a0b5ecb1a507d777bd1ec"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-04-27T00:09:59Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "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",
            "GOSU_VERSION=1.17",
            "JSYAML_VERSION=3.13.1",
            "MONGO_PACKAGE=mongodb-org",
            "MONGO_REPO=repo.mongodb.org",
            "MONGO_MAJOR=7.0",
            "MONGO_VERSION=7.0.9",
            "HOME=/data/db"
        ],
        "Cmd": [
            "mongod"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/data/configdb": {},
            "/data/db": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.version": "22.04"
        }
    },
    "Architecture": "arm64",
    "Os": "linux",
    "Size": 759516617,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/8dec0c40210c9020291cf7d39fb24431b06a48255780afc2fe87ebcd8695b83a/diff:/var/lib/docker/overlay2/3b52f8c238e1382bac86de35377980cf43e66af698f881d8756280191fef8e16/diff:/var/lib/docker/overlay2/e9808298669d60516c4451778619dbda3da0475635172c7090baf95c0c1f5e90/diff:/var/lib/docker/overlay2/729d59eedfedb72213083499c03f447afe8f562bbef3f4f4d353e0124c33b79f/diff:/var/lib/docker/overlay2/a9a16d13a432dcd25f595847515ee65a27cfb0491123305647951f039d1d7ef3/diff:/var/lib/docker/overlay2/62d456390793ad1543f15f8e8719195f72ae83e699c2550f7790d32f4cbfe6cb/diff:/var/lib/docker/overlay2/3f9a1f2b1ccf74473b968af253739f15f5278e6f287853adff823d644d1ecafc/diff",
            "MergedDir": "/var/lib/docker/overlay2/056da818342f3fb3f30b508df06f794c625d86348420eb6af72f1e5dc73859b8/merged",
            "UpperDir": "/var/lib/docker/overlay2/056da818342f3fb3f30b508df06f794c625d86348420eb6af72f1e5dc73859b8/diff",
            "WorkDir": "/var/lib/docker/overlay2/056da818342f3fb3f30b508df06f794c625d86348420eb6af72f1e5dc73859b8/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:842bef16b8fb80459504b4621523ac3d78faf7e01d6d9fa7076ed6d4a8f49830",
            "sha256:65cecff36d6a2a26f64028f815bd1b057022bb648b5b5fe1908f66dd078e2c0d",
            "sha256:9d1a695490dbe7ffee9756ebe95ed87c2f34e1ff42ab7611b59cfb0eaf2b91cc",
            "sha256:19b86eb84b5e3d1e9017b01b738ca94fbed588774f162918c6c6e0527dccd804",
            "sha256:0eabbe52f5b5699f0a48560ca995720ac313a8cb6aa8ef8824ae02fa17b834ed",
            "sha256:974b2b1f785179148fc17ed64658446dd6dc73fad887444d641a8e21d52bf088",
            "sha256:38db5dc1607dd82d68a28723a08c6e6a3762d9872af4579f1820becaba1927fe",
            "sha256:d1b744e010965972f27f590d66091af7c1ff70ae3f1a094077b8affb43ec5061"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-07T16:52:26.810873916+08:00"
    }
}

更多版本

docker.io/mongo:5.0.18

linux/amd64 docker.io662.76MB2024-06-12 13:04
562

docker.io/mongo:4.4.29

linux/amd64 docker.io427.29MB2024-06-20 08:03
472

docker.io/mongo:3.4.22

linux/amd64 docker.io427.77MB2024-07-23 14:26
153

docker.io/mongo:4.4.29

linux/arm64 docker.io407.78MB2024-08-27 00:20
277

docker.io/mongo:5.0.18

linux/arm64 docker.io632.24MB2024-09-13 10:58
154

docker.io/mongo:3.2.20

linux/amd64 docker.io299.98MB2024-09-13 17:37
131

docker.io/mongo:4.4

linux/amd64 docker.io427.29MB2024-09-21 09:02
174

docker.io/mongo:6.0.6

linux/amd64 docker.io653.17MB2024-10-12 14:10
198

docker.io/mongo:latest

linux/amd64 docker.io854.21MB2024-10-18 11:56
474

docker.io/mongo-express:latest

linux/amd64 docker.io182.22MB2024-10-21 00:03
271

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

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

docker.io/mongo:6.0.11

linux/amd64 docker.io681.38MB2024-10-21 18:28
148

docker.io/mongo:6.0.9

linux/arm64 docker.io638.68MB2024-10-23 17:05
118

docker.io/mongo:4.2

linux/amd64 docker.io388.32MB2024-10-26 15:39
113

docker.io/mongo:6.0.2

linux/amd64 docker.io694.54MB2024-10-30 10:44
278

docker.io/mongo:4.2

linux/arm64 docker.io365.77MB2024-11-05 18:17
80

docker.io/mongo-express:1.0.2-20-alpine3.19

linux/amd64 docker.io187.75MB2024-11-14 22:08
65

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

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

docker.io/mongo:4.4.0

linux/amd64 docker.io492.98MB2024-12-16 14:27
49

docker.io/mongo:7.0.9

linux/arm64 docker.io759.52MB2025-01-07 16:53
40