docker.io/mongo:6.0.2 linux/amd64

docker.io/mongo:6.0.2 - 国内下载镜像源 浏览次数:189 安全受验证的发布者-Mongo
🚀
MongoDB 是一个开源的 NoSQL 文档数据库管理系统。该镜像用于运行 MongoDB 服务,可以用来存储和处理大量数据。
源镜像 docker.io/mongo:6.0.2
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo:6.0.2
镜像ID sha256:b70536aeb2507ba0ea53767d15d836e140ccf3df74f2678f0cb5dd5c5e1d952c
镜像TAG 6.0.2
大小 694.54MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mongod
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 189 次
贡献者
镜像创建 2022-10-25T17:38:12.444434345Z
同步时间 2024-10-30 10:44
更新时间 2024-11-21 13:03
开放端口
27017/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOSU_VERSION=1.12 JSYAML_VERSION=3.13.1 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org MONGO_MAJOR=6.0 MONGO_VERSION=6.0.2 HOME=/data/db
镜像安全扫描 查看Trivy扫描报告

系统OS: ubuntu 20.04 扫描引擎: Trivy 扫描时间: 2024-10-30 10:44

低危漏洞:96 中危漏洞:187 高危漏洞:47 严重漏洞:4

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2022-10-26 01:38:12 /bin/sh -c #(nop) CMD ["mongod"]
0.00B 2022-10-26 01:38:12 /bin/sh -c #(nop) EXPOSE 27017
0.00B 2022-10-26 01:38:12 /bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
14.51KB 2022-10-26 01:38:12 /bin/sh -c #(nop) COPY file:a062061dd38363517a589afdd763f61500b162faee89d415017c58fd70abe392 in /usr/local/bin/
0.00B 2022-10-26 01:38:11 /bin/sh -c #(nop) ENV HOME=/data/db
0.00B 2022-10-26 01:38:11 /bin/sh -c #(nop) VOLUME [/data/db /data/configdb]
598.53MB 2022-10-26 01:38:10 /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 && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mongodb && mv /etc/mongod.conf /etc/mongod.conf.orig
0.00B 2022-10-26 01:37:46 /bin/sh -c #(nop) ENV MONGO_VERSION=6.0.2
116.00B 2022-10-26 01:37:46 /bin/sh -c echo "deb [ signed-by=/etc/apt/keyrings/mongodb.gpg ] http://$MONGO_REPO/apt/ubuntu focal/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list"
0.00B 2022-10-26 01:37:45 /bin/sh -c #(nop) ENV MONGO_MAJOR=6.0
0.00B 2022-10-26 01:37:45 /bin/sh -c #(nop) ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
0.00B 2022-10-26 01:37:45 /bin/sh -c #(nop) ARG MONGO_REPO=repo.mongodb.org
0.00B 2022-10-26 01:37:45 /bin/sh -c #(nop) ARG MONGO_PACKAGE=mongodb-org
1.16KB 2022-10-26 01:37:45 /bin/sh -c set -ex; export GNUPGHOME="$(mktemp -d)"; set -- '39BD841E4BE5FB195A65400E6A26B1AE64C3C388'; for key; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; mkdir -p /etc/apt/keyrings; gpg --batch --export "$@" > /etc/apt/keyrings/mongodb.gpg; command -v gpgconf && gpgconf --kill all || :; rm -r "$GNUPGHOME"
0.00B 2022-10-26 01:37:43 /bin/sh -c mkdir /docker-entrypoint-initdb.d
15.11MB 2022-10-26 01:37:43 /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
0.00B 2022-10-26 01:37:28 /bin/sh -c #(nop) ENV JSYAML_VERSION=3.13.1
0.00B 2022-10-26 01:37:28 /bin/sh -c #(nop) ENV GOSU_VERSION=1.12
7.77MB 2022-10-26 01:37:28 /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/*
328.58KB 2022-10-26 01:37:18 /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
0.00B 2022-10-25 09:53:35 /bin/sh -c #(nop) CMD ["bash"]
72.79MB 2022-10-25 09:53:34 /bin/sh -c #(nop) ADD file:7633003155a1059419aa1a6756fafb6e4f419d65bff7feb7c945de1e29dccb1e in /

镜像信息

{
    "Id": "sha256:b70536aeb2507ba0ea53767d15d836e140ccf3df74f2678f0cb5dd5c5e1d952c",
    "RepoTags": [
        "mongo:6.0.2",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo:6.0.2"
    ],
    "RepoDigests": [
        "mongo@sha256:71a63fc2438e45714f6c8a2505968ee0beeb94ec77a88ef12190f7cee9b95f32",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo@sha256:53c4915c2c13524007a84b472f8c0b0a3c4f889afcb014306b628b2e82d0b658"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2022-10-25T17:38:12.444434345Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.12",
    "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",
            "MONGO_PACKAGE=mongodb-org",
            "MONGO_REPO=repo.mongodb.org",
            "MONGO_MAJOR=6.0",
            "MONGO_VERSION=6.0.2",
            "HOME=/data/db"
        ],
        "Cmd": [
            "mongod"
        ],
        "Image": "sha256:3210d3fc10689ffbc2bf5b617c41f8fb5c18d9ff573d59c4fceddab4b9f8c7f8",
        "Volumes": {
            "/data/configdb": {},
            "/data/db": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 694540202,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/982004e9f7952f62e432b3bb1100f6f81b2485043d0b0cb9b2e06f8d8648d207/diff:/var/lib/docker/overlay2/75e9ba6f46d5e622f06fc2b20ddc241365a8503d151ab0232239aae1f22d8c9c/diff:/var/lib/docker/overlay2/d5ac66c6fc3713d853f182709b60932119738e961c0b7ff22fe2c83abdd0e785/diff:/var/lib/docker/overlay2/7f5a696e41dc8714db462ada6f9ea5679249e9054e669ec9a34e35f0aa777ce7/diff:/var/lib/docker/overlay2/1e816396da65eac87efe9b8744d3f7ed1a238516cbe389ad2f105546f1a7be88/diff:/var/lib/docker/overlay2/9ac9b1436c678f826d45e58f642f5b300991689eeed5c11bd715c1e6d6325661/diff:/var/lib/docker/overlay2/7523c196144f0a52bc4edcfdc3a46f16f36dddd24030143d6b6828fa19192206/diff:/var/lib/docker/overlay2/1ab91b57b064bed16fc087580f89e27511df04f2dc37391c39861316a76514bc/diff",
            "MergedDir": "/var/lib/docker/overlay2/295bb1280d3c32d8c7f0c0736093d015802c2bc59d49c830ceaffd538974cc85/merged",
            "UpperDir": "/var/lib/docker/overlay2/295bb1280d3c32d8c7f0c0736093d015802c2bc59d49c830ceaffd538974cc85/diff",
            "WorkDir": "/var/lib/docker/overlay2/295bb1280d3c32d8c7f0c0736093d015802c2bc59d49c830ceaffd538974cc85/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:f4462d5b2da2985f37409c9b257afd2b9fb82356ce4e43e804ee34214242e34a",
            "sha256:34d69dd6be51a96563f0b4b06ad4e334006cf63fc99e65c2a26f3423df8e1a3c",
            "sha256:c25a3d103d69632aae84f3ee1f504336a4926d017b0eb437d27ea04a4d086694",
            "sha256:6047baf236da1ae321231acf6b0d40f8f3893cada9a84d0b6ebadfbc339b23d0",
            "sha256:26b92fb3489be3b5c3bc726b3f848d51e49e225784c1da03f8720c53ba75abb7",
            "sha256:2ced559d3834f536739056e9e2c7873b136e04c3897cd53bc08a1e4a554c89fa",
            "sha256:31b18c1df5e083947b164a8ed9825453226f7ea0ae0ab58925fe234ef20ebdca",
            "sha256:e83843964a5a1dfa5d302baeca51e4d41b00762251e3f4c03a436a500827dff0",
            "sha256:ec5375187b18d2edaa1dc096c5a9f6f928c39ffdfce8aee56daa6e77ac033e2b"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-30T10:43:36.680819594+08:00"
    }
}

更多版本

docker.io/mongo:5.0.18

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

docker.io/mongo:4.4.29

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

docker.io/mongo:3.4.22

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

docker.io/mongo:4.4.29

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

docker.io/mongo:5.0.18

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

docker.io/mongo:3.2.20

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

docker.io/mongo:4.4

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

docker.io/mongo:6.0.6

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

docker.io/mongo:latest

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

docker.io/mongo-express:latest

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

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

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

docker.io/mongo:6.0.11

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

docker.io/mongo:6.0.9

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

docker.io/mongo:4.2

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

docker.io/mongo:6.0.2

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

docker.io/mongo:4.2

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

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

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