docker.io/mongo:4.2 linux/amd64

docker.io/mongo:4.2 - 国内下载镜像源 浏览次数:66 安全受验证的发布者-Mongo
🚀
MongoDB 是一个开源的 NoSQL 文档数据库管理系统。该镜像用于运行 MongoDB 服务,可以用来存储和处理大量数据。
源镜像 docker.io/mongo:4.2
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo:4.2
镜像ID sha256:9b5c4a4fdcb5adb07f1508457bbbf8c6122917738c9fa8e7e92e45df74af9b6d
镜像TAG 4.2
大小 388.32MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mongod
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 66 次
贡献者
镜像创建 2023-06-02T01:28:48.276175579Z
同步时间 2024-10-26 15:39
更新时间 2024-11-21 13:07
开放端口
27017/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOSU_VERSION=1.16 JSYAML_VERSION=3.13.1 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org MONGO_MAJOR=4.2 MONGO_VERSION=4.2.24 HOME=/data/db
镜像标签
ubuntu: org.opencontainers.image.ref.name 18.04: org.opencontainers.image.version
镜像安全扫描 查看Trivy扫描报告

系统OS: ubuntu 18.04 扫描引擎: Trivy 扫描时间: 2024-10-26 15:39

低危漏洞:3 中危漏洞:22 高危漏洞:33 严重漏洞:3

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2023-06-02 09:28:48 /bin/sh -c #(nop) CMD ["mongod"]
0.00B 2023-06-02 09:28:48 /bin/sh -c #(nop) EXPOSE 27017
0.00B 2023-06-02 09:28:48 /bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
14.23KB 2023-06-02 09:28:48 /bin/sh -c #(nop) COPY file:e3d6a34db83fe880626bff5d0b8d720ae43720caac9c739cbd1d336a129dad2d in /usr/local/bin/
0.00B 2023-06-02 09:28:47 /bin/sh -c #(nop) ENV HOME=/data/db
0.00B 2023-06-02 09:28:47 /bin/sh -c #(nop) VOLUME [/data/db /data/configdb]
303.71MB 2023-06-02 09:28:47 /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 2023-06-02 09:28:30 /bin/sh -c #(nop) ENV MONGO_VERSION=4.2.24
117.00B 2023-06-02 09:28:30 /bin/sh -c echo "deb [ signed-by=/etc/apt/keyrings/mongodb.gpg ] http://$MONGO_REPO/apt/ubuntu bionic/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list"
0.00B 2023-06-02 09:28:29 /bin/sh -c #(nop) ENV MONGO_MAJOR=4.2
0.00B 2023-06-02 09:28:29 /bin/sh -c #(nop) ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
0.00B 2023-06-02 09:28:29 /bin/sh -c #(nop) ARG MONGO_REPO=repo.mongodb.org
0.00B 2023-06-02 09:28:29 /bin/sh -c #(nop) ARG MONGO_PACKAGE=mongodb-org
1.16KB 2023-06-02 09:28:29 /bin/sh -c set -ex; export GNUPGHOME="$(mktemp -d)"; set -- 'E162F504A20CDF15827F718D4B7C549A058F8B6B'; 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; gpgconf --kill all; rm -rf "$GNUPGHOME"
0.00B 2023-06-02 09:28:28 /bin/sh -c mkdir /docker-entrypoint-initdb.d
3.52MB 2023-06-02 09:28:27 /bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends 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; 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 2023-06-02 09:28:19 /bin/sh -c #(nop) ENV JSYAML_VERSION=3.13.1
0.00B 2023-06-02 09:28:19 /bin/sh -c #(nop) ENV GOSU_VERSION=1.16
17.53MB 2023-06-02 09:28:19 /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates gnupg jq numactl procps ; rm -rf /var/lib/apt/lists/*
392.58KB 2023-06-02 09:28:08 /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 2023-05-30 17:32:09 /bin/sh -c #(nop) CMD ["/bin/bash"]
63.16MB 2023-05-30 17:32:09 /bin/sh -c #(nop) ADD file:3c74e7e08cbf9a87694ce6fa541af617599680fa54d9e48556fc0fbc120b4a83 in /
0.00B 2023-05-30 17:32:07 /bin/sh -c #(nop) LABEL org.opencontainers.image.version=18.04
0.00B 2023-05-30 17:32:07 /bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
0.00B 2023-05-30 17:32:07 /bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
0.00B 2023-05-30 17:32:07 /bin/sh -c #(nop) ARG RELEASE

镜像信息

{
    "Id": "sha256:9b5c4a4fdcb5adb07f1508457bbbf8c6122917738c9fa8e7e92e45df74af9b6d",
    "RepoTags": [
        "mongo:4.2",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo:4.2"
    ],
    "RepoDigests": [
        "mongo@sha256:699d652ed67423d689258bad7b316cf005dfbb82b334118ec306f049042f3717",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo@sha256:e43605102083aca04677b02446d9289ef495b0e97251d298c9840abe1f0256a1"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2023-06-02T01:28:48.276175579Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.23",
    "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.16",
            "JSYAML_VERSION=3.13.1",
            "MONGO_PACKAGE=mongodb-org",
            "MONGO_REPO=repo.mongodb.org",
            "MONGO_MAJOR=4.2",
            "MONGO_VERSION=4.2.24",
            "HOME=/data/db"
        ],
        "Cmd": [
            "mongod"
        ],
        "Image": "sha256:bbc76084b6160187af84a73032621721655e192bde618d633df8eed8a7890884",
        "Volumes": {
            "/data/configdb": {},
            "/data/db": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.version": "18.04"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 388323815,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/879a5ce0d94a8e475cab3619e12f295e407c76266e130a4b8a33e80af58c310a/diff:/var/lib/docker/overlay2/973b4d1ecd3cf4a4b7f31a16d4f3628d16ce6cd939c61bb3cf19cae0cb515bf0/diff:/var/lib/docker/overlay2/ba14ef6ca40744d561d2d901de8fa6e0ddc640a63b6b7101e4967d0f0527cedd/diff:/var/lib/docker/overlay2/759224d50c5f0a0a5354abaf864f057cffdfdb94ab57c955e9b33b69a2b506b5/diff:/var/lib/docker/overlay2/df4761b81a081872ef4b909beaae12cd1174e4c97286432a0a9a632d5dad9a31/diff:/var/lib/docker/overlay2/9d445c7042660b28361ed519793ba142ec4890617225846f4a8617b617d26e3a/diff:/var/lib/docker/overlay2/2d70239fbe8273a10163800f1e854913004ec3cead733f37effbefaf616063c0/diff:/var/lib/docker/overlay2/ddf04bf67fc362ccd471752ee5b1384114b16b87ed6108bf941d78757fe24bea/diff",
            "MergedDir": "/var/lib/docker/overlay2/709cd6a45d33220cb1048c97ed3b895c90bfbd1b8100bbefe1b5046bd48a31b3/merged",
            "UpperDir": "/var/lib/docker/overlay2/709cd6a45d33220cb1048c97ed3b895c90bfbd1b8100bbefe1b5046bd48a31b3/diff",
            "WorkDir": "/var/lib/docker/overlay2/709cd6a45d33220cb1048c97ed3b895c90bfbd1b8100bbefe1b5046bd48a31b3/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:548a79621a426b4eb077c926eabac5a8620c454fb230640253e1b44dc7dd7562",
            "sha256:009afd448c57e4374713752beb93e7273bb2ef3fba77846619bcab914c6cb33f",
            "sha256:7ddbff1f9d1330e2c9684d8ad4872b6b402223c66191976d8e344849ccfa3126",
            "sha256:18825f15cdcf1ba91df1be4ea7f4e731c881c39c89dc106204852d12868086f1",
            "sha256:5d499df675f4cabf17dab7674c38abd11c23441b2c5a4a4004fdc2832c8caded",
            "sha256:c315ca16ab27d8120812bfc82b60f632ef053a3d8481af6a6936c26c3857e9e4",
            "sha256:b3a51f49e75294ad437062d3cabee27aa5745faafc0448c189baeeeb84f4423a",
            "sha256:86b09be5c21ffbb91d0f30d6a214a72bf3d82e30803391c9a1ed2fe683939c8d",
            "sha256:1ebfabb84dedfa7fadf722dc2034874e62d681849d667e838c87630116db2a70"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-26T15:39:10.391103606+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
200

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

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

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
189

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
28