docker.io/mongo:4.4.0 linux/amd64

docker.io/mongo:4.4.0 - 国内下载镜像源 浏览次数:49 安全受验证的发布者-Mongo
🚀
MongoDB 是一个开源的 NoSQL 文档数据库管理系统。该镜像用于运行 MongoDB 服务,可以用来存储和处理大量数据。
源镜像 docker.io/mongo:4.4.0
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo:4.4.0
镜像ID sha256:409c3f937574b61a7cf3b2d5c2fb5ced77d942dee48d9f896fc92b74c7f599a1
镜像TAG 4.4.0
大小 492.98MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mongod
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 49 次
贡献者
镜像创建 2020-08-19T23:29:20.358837017Z
同步时间 2024-12-16 14:27
更新时间 2025-01-15 22:04
开放端口
27017/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOSU_VERSION=1.12 JSYAML_VERSION=3.13.1 GPG_KEYS=20691EEC35216C63CAF66CE1656408E390CFB1F5 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org MONGO_MAJOR=4.4 MONGO_VERSION=4.4.0
镜像安全扫描 查看Trivy扫描报告

系统OS: ubuntu 18.04 扫描引擎: Trivy 扫描时间: 2024-12-16 14:29

低危漏洞:132 中危漏洞:243 高危漏洞:59 严重漏洞:4

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2020-08-20 07:29:20  0.00B 
/bin/sh -c #(nop)  CMD ["mongod"]
                        
# 2020-08-20 07:29:20  0.00B 
/bin/sh -c #(nop)  EXPOSE 27017
                        
# 2020-08-20 07:29:19  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2020-08-20 07:29:19  11.18KB 
/bin/sh -c #(nop) COPY file:c3beae20a29d6d69ecab76830068690f9c4f9d77d82eb60160db72670df64615 in /usr/local/bin/ 
                        
# 2020-08-20 07:29:19  0.00B 
/bin/sh -c #(nop)  VOLUME [/data/db /data/configdb]
                        
# 2020-08-20 07:29:19  0.00B 
/bin/sh -c mkdir -p /data/db /data/configdb 	&& chown -R mongodb:mongodb /data/db /data/configdb
                        
# 2020-08-20 07:29:18  407.40MB 
/bin/sh -c set -x 	&& export DEBIAN_FRONTEND=noninteractive 	&& apt-get update 	&& ln -s /bin/true /usr/local/bin/systemctl 	&& 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 	&& rm -f /usr/local/bin/systemctl 	&& rm -rf /var/lib/apt/lists/* 	&& rm -rf /var/lib/mongodb 	&& mv /etc/mongod.conf /etc/mongod.conf.orig
                        
# 2020-08-20 07:28:58  73.00B 
/bin/sh -c echo "deb http://$MONGO_REPO/apt/ubuntu bionic/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list"
                        
# 2020-08-20 07:28:57  0.00B 
/bin/sh -c #(nop)  ENV MONGO_VERSION=4.4.0
                        
# 2020-08-20 07:28:57  0.00B 
/bin/sh -c #(nop)  ENV MONGO_MAJOR=4.4
                        
# 2020-08-20 07:28:56  0.00B 
/bin/sh -c #(nop)  ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
                        
# 2020-08-20 07:28:56  0.00B 
/bin/sh -c #(nop)  ARG MONGO_REPO=repo.mongodb.org
                        
# 2020-08-20 07:28:56  0.00B 
/bin/sh -c #(nop)  ARG MONGO_PACKAGE=mongodb-org
                        
# 2020-08-20 07:28:56  1.16KB 
/bin/sh -c set -ex; 	export GNUPGHOME="$(mktemp -d)"; 	for key in $GPG_KEYS; do 		gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; 	done; 	gpg --batch --export $GPG_KEYS > /etc/apt/trusted.gpg.d/mongodb.gpg; 	command -v gpgconf && gpgconf --kill all || :; 	rm -r "$GNUPGHOME"; 	apt-key list
                        
# 2020-08-20 07:28:55  0.00B 
/bin/sh -c #(nop)  ENV GPG_KEYS=20691EEC35216C63CAF66CE1656408E390CFB1F5
                        
# 2020-08-20 07:28:21  0.00B 
/bin/sh -c mkdir /docker-entrypoint-initdb.d
                        
# 2020-08-20 07:28:20  13.45MB 
/bin/sh -c set -ex; 		savedAptMark="$(apt-mark showmanual)"; 	apt-get update; 	apt-get install -y --no-install-recommends 		wget 	; 	if ! command -v gpg > /dev/null; then 		apt-get install -y --no-install-recommends gnupg dirmngr; 		savedAptMark="$savedAptMark gnupg dirmngr"; 	elif gpg --version | grep -q '^gpg (GnuPG) 1\.'; then 		apt-get install -y --no-install-recommends gnupg-curl; 	fi; 	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; 	command -v gpgconf && gpgconf --kill all || :; 	rm -r "$GNUPGHOME" /usr/local/bin/gosu.asc; 		wget -O /js-yaml.js "https://github.com/nodeca/js-yaml/raw/${JSYAML_VERSION}/dist/js-yaml.js"; 		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
                        
# 2020-08-20 07:28:10  0.00B 
/bin/sh -c #(nop)  ENV JSYAML_VERSION=3.13.1
                        
# 2020-08-20 07:28:10  0.00B 
/bin/sh -c #(nop)  ENV GOSU_VERSION=1.12
                        
# 2020-08-20 07:28:10  7.49MB 
/bin/sh -c set -eux; 	apt-get update; 	apt-get install -y --no-install-recommends 		ca-certificates 		jq 		numactl 	; 	if ! command -v ps > /dev/null; then 		apt-get install -y --no-install-recommends procps; 	fi; 	rm -rf /var/lib/apt/lists/*
                        
# 2020-08-20 07:28:01  392.58KB 
/bin/sh -c groupadd -r mongodb && useradd -r -g mongodb mongodb
                        
# 2020-08-20 05:13:55  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2020-08-20 05:13:55  7.00B 
/bin/sh -c mkdir -p /run/systemd && echo 'docker' > /run/systemd/container
                        
# 2020-08-20 05:13:53  745.00B 
/bin/sh -c set -xe 		&& echo '#!/bin/sh' > /usr/sbin/policy-rc.d 	&& echo 'exit 101' >> /usr/sbin/policy-rc.d 	&& chmod +x /usr/sbin/policy-rc.d 		&& dpkg-divert --local --rename --add /sbin/initctl 	&& cp -a /usr/sbin/policy-rc.d /sbin/initctl 	&& sed -i 's/^exit.*/exit 0/' /sbin/initctl 		&& echo 'force-unsafe-io' > /etc/dpkg/dpkg.cfg.d/docker-apt-speedup 		&& echo 'DPkg::Post-Invoke { "rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true"; };' > /etc/apt/apt.conf.d/docker-clean 	&& echo 'APT::Update::Post-Invoke { "rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true"; };' >> /etc/apt/apt.conf.d/docker-clean 	&& echo 'Dir::Cache::pkgcache ""; Dir::Cache::srcpkgcache "";' >> /etc/apt/apt.conf.d/docker-clean 		&& echo 'Acquire::Languages "none";' > /etc/apt/apt.conf.d/docker-no-languages 		&& echo 'Acquire::GzipIndexes "true"; Acquire::CompressionTypes::Order:: "gz";' > /etc/apt/apt.conf.d/docker-gzip-indexes 		&& echo 'Apt::AutoRemove::SuggestsImportant "false";' > /etc/apt/apt.conf.d/docker-autoremove-suggests
                        
# 2020-08-20 05:13:52  987.49KB 
/bin/sh -c [ -z "$(apt-get indextargets)" ]
                        
# 2020-08-20 05:13:50  63.24MB 
/bin/sh -c #(nop) ADD file:5c125b7f411566e9daa738d8cb851098f36197810f06488c2609074296f294b2 in / 
                        
                    

镜像信息

{
    "Id": "sha256:409c3f937574b61a7cf3b2d5c2fb5ced77d942dee48d9f896fc92b74c7f599a1",
    "RepoTags": [
        "mongo:4.4.0",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo:4.4.0"
    ],
    "RepoDigests": [
        "mongo@sha256:77f3d623d475c56ab43d61864bc3aa610953869724dbbea325989a0718741d1c",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo@sha256:ebd31eaac273a9544a33387aa859b0a8676565340a40fc824fa7bda686f462f1"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2020-08-19T23:29:20.358837017Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "18.09.7",
    "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.12",
            "JSYAML_VERSION=3.13.1",
            "GPG_KEYS=20691EEC35216C63CAF66CE1656408E390CFB1F5",
            "MONGO_PACKAGE=mongodb-org",
            "MONGO_REPO=repo.mongodb.org",
            "MONGO_MAJOR=4.4",
            "MONGO_VERSION=4.4.0"
        ],
        "Cmd": [
            "mongod"
        ],
        "ArgsEscaped": true,
        "Image": "sha256:e242f3c9a7644072b6ed078b8b6eb9e91f5e115cc2e9935f54a8ee0d34d161e0",
        "Volumes": {
            "/data/configdb": {},
            "/data/db": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 492977894,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/95d4d4d94e935cc23d39e133449d27013747091188b373be4e5a9288bb855cd4/diff:/var/lib/docker/overlay2/5055deffa86bb3d9b55f2948cd90e78a23b1ea18260789ff271dc0efef141471/diff:/var/lib/docker/overlay2/d769da8e1eefeabd17eb7d902e8aacd790d5e9fee48188396428a56e42fb7f37/diff:/var/lib/docker/overlay2/f5fb5061a4754581197e3b1795f8b9b1e5eae687350a6a88825298d0787348eb/diff:/var/lib/docker/overlay2/2b920c03db71b76f4b5a293947749436fe485a0412b46cf333481c2977fc0669/diff:/var/lib/docker/overlay2/77b7ceb226c513477b4531fb7515f5fd828f25bc842cb0ab0cfa2e7fd5bcdd22/diff:/var/lib/docker/overlay2/f2461165b553ca9e8343fc8208d99f9e454767b461ec21aa4a07c9cd1174f829/diff:/var/lib/docker/overlay2/7bb609209526fea35320dcf13603b7a9c584cb5e4cee447e99759da68a26bdd2/diff:/var/lib/docker/overlay2/51c6cfacef91c251cb2e4c6bf4592244a90e6935a5f0ab96c27202ebd5127fe7/diff:/var/lib/docker/overlay2/21734af9716beb3193ed14db4ead2079e0681067a2c23f084e9432b7161e91ef/diff:/var/lib/docker/overlay2/5eb59ad029aa4934893806608556fc823f505558677699fa24e110ccd0644130/diff:/var/lib/docker/overlay2/74b76e5ec4c967ccc563671417c82480eff12ccad32f10fd482badc85b948b5e/diff",
            "MergedDir": "/var/lib/docker/overlay2/7e9c0d6a41c6f4e22701138d3433ce27b81127e0220fa6f19fba741af6ea15d6/merged",
            "UpperDir": "/var/lib/docker/overlay2/7e9c0d6a41c6f4e22701138d3433ce27b81127e0220fa6f19fba741af6ea15d6/diff",
            "WorkDir": "/var/lib/docker/overlay2/7e9c0d6a41c6f4e22701138d3433ce27b81127e0220fa6f19fba741af6ea15d6/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:79bde4d54386664324ce9b6179a3265ca96e6c8f05c06ded53856a670874c715",
            "sha256:2f37d11021878811b25cc6a3c6d48a0eb6f57a0b0d42f954123a18c17e2abf56",
            "sha256:2ba5b91ca2b0c27b8ca3503b93164e9ec29ef5ae72e5272192839347e9f951dd",
            "sha256:001e4a80973b4bc154292425871684a0c1fa422c344186516dd6f792606ed9d6",
            "sha256:dfb25e85dc086145fd98e496a1c7822fce7d73b0408d653ea2981a15bfdd5cc9",
            "sha256:dae8c5ccdf7ec51c2b2dd87a3dc7305a091f3a57ac90489df66b150511282f41",
            "sha256:23ebc01e0bc4ec39f93943b515e088f4cb7e85cd1af4211e0656271e803984c7",
            "sha256:cca0bdd11f6be6907f7d6df2db328ad75a4c5341ba5f3f27222921336039631f",
            "sha256:07e55435a9c498cb5c90c18746ab46421ea7dbbfe975a78a7a4711698fd55b85",
            "sha256:a2888dc70aa11a7c95d1d64530ac31aa3631203f4d711285401d3f88f05415b0",
            "sha256:265f984b9394d640875895653dc53525636192cbce25e57806da4563091292d2",
            "sha256:aaa44429ab21a90d14d1edee4b75b1ab53637a649b457adf0822324774318c19",
            "sha256:56166432d19d20c1c676b120a51d0182132cb149788c83aedfed6869c6544cbf"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-12-16T14:27:24.744788325+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
473

docker.io/mongo-express:latest

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

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
48

docker.io/mongo:7.0.9

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