docker.io/mongo:4.2 linux/arm64

docker.io/mongo:4.2 - 国内下载镜像源 浏览次数:26 安全受验证的发布者-Mongo 温馨提示: 这是一个 linux/arm64 系统架构镜像
🚀
MongoDB 是一个开源的 NoSQL 文档数据库管理系统。该镜像用于运行 MongoDB 服务,可以用来存储和处理大量数据。
源镜像 docker.io/mongo:4.2
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo:4.2-linuxarm64
镜像ID sha256:3602651727c861c0d99673f36e402e826cb74257caaa35b258984f76af870edf
镜像TAG 4.2-linuxarm64
大小 365.77MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mongod
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/arm64
浏览量 26 次
贡献者
镜像创建 2023-06-01T23:36:11.734990266Z
同步时间 2024-11-05 18:17
更新时间 2024-11-20 22:50
开放端口
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-11-05 18:17

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

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

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

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo:4.2-linuxarm64
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo:4.2-linuxarm64  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-linuxarm64#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo:4.2-linuxarm64 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo:4.2-linuxarm64  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-linuxarm64 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo:4.2-linuxarm64  docker.io/mongo:4.2'

镜像历史

大小 创建时间 层信息
0.00B 2023-06-02 07:36:11 /bin/sh -c #(nop) CMD ["mongod"]
0.00B 2023-06-02 07:36:11 /bin/sh -c #(nop) EXPOSE 27017
0.00B 2023-06-02 07:36:11 /bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
14.23KB 2023-06-02 07:36:11 /bin/sh -c #(nop) COPY file:e3d6a34db83fe880626bff5d0b8d720ae43720caac9c739cbd1d336a129dad2d in /usr/local/bin/
0.00B 2023-06-02 07:36:11 /bin/sh -c #(nop) ENV HOME=/data/db
0.00B 2023-06-02 07:36:11 /bin/sh -c #(nop) VOLUME [/data/db /data/configdb]
289.45MB 2023-06-02 07:36:09 /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 07:35:55 /bin/sh -c #(nop) ENV MONGO_VERSION=4.2.24
117.00B 2023-06-02 07:35:54 /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 07:35:54 /bin/sh -c #(nop) ENV MONGO_MAJOR=4.2
0.00B 2023-06-02 07:35:54 /bin/sh -c #(nop) ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
0.00B 2023-06-02 07:35:54 /bin/sh -c #(nop) ARG MONGO_REPO=repo.mongodb.org
0.00B 2023-06-02 07:35:54 /bin/sh -c #(nop) ARG MONGO_PACKAGE=mongodb-org
1.16KB 2023-06-02 07:35:54 /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 07:35:53 /bin/sh -c mkdir /docker-entrypoint-initdb.d
3.57MB 2023-06-02 07:35:52 /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 07:35:44 /bin/sh -c #(nop) ENV JSYAML_VERSION=3.13.1
0.00B 2023-06-02 07:35:44 /bin/sh -c #(nop) ENV GOSU_VERSION=1.16
15.68MB 2023-06-02 07:35:44 /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/*
396.58KB 2023-06-02 07:35:33 /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:39:10 /bin/sh -c #(nop) CMD ["/bin/bash"]
56.66MB 2023-05-30 17:39:09 /bin/sh -c #(nop) ADD file:f56078e320535ad36864a2a30efa5b760ae65dd324cea9d75f01388b17e1183c in /
0.00B 2023-05-30 17:39:04 /bin/sh -c #(nop) LABEL org.opencontainers.image.version=18.04
0.00B 2023-05-30 17:39:04 /bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
0.00B 2023-05-30 17:39:04 /bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
0.00B 2023-05-30 17:39:04 /bin/sh -c #(nop) ARG RELEASE

镜像信息

{
    "Id": "sha256:3602651727c861c0d99673f36e402e826cb74257caaa35b258984f76af870edf",
    "RepoTags": [
        "mongo:4.2",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo:4.2-linuxarm64"
    ],
    "RepoDigests": [
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo@sha256:b7d03784e85c0ff38f499863a64ab07101d05fd7c2da76d6a6b1850bed2f5dee"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2023-06-01T23:36:11.734990266Z",
    "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:5fcf42f793b2371d527325fa9a47c745d275278c6e81280c7729704d8cea5a51",
        "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": "arm64",
    "Variant": "v8",
    "Os": "linux",
    "Size": 365770501,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/b8fb91d8e0de9f30957297778000eff6de39846939e98cb6a8e7b03db50d7346/diff:/var/lib/docker/overlay2/a3453eefb2cd305521f0beac74b89c702de2d9d100fa91cde08329baaf5f6e13/diff:/var/lib/docker/overlay2/9cf9e01849cdbd82079d346702eab82e5bd527c3fbeed8b46a69839e32c91672/diff:/var/lib/docker/overlay2/7bbf4b7cf734af99f1b89e8a561e3220f7a49cdd5285e2b57d6c216ecbbc216a/diff:/var/lib/docker/overlay2/8441cf3537eaf3de018d7243db1973d24e15d78e4f741d153f20a29852020281/diff:/var/lib/docker/overlay2/e0a030853f04b94b8ad9862051d4842b11a565d48ca979c9a69b7e754c13c2cd/diff:/var/lib/docker/overlay2/89ed78b3a8b68852c01bce4d62a0c49bfe2a1057fdf835f730fd710d2f4b40d7/diff:/var/lib/docker/overlay2/f0452885548e4d14f6f315335c5aa9d18c2046ea7b77c35f1966967f37c85aaa/diff",
            "MergedDir": "/var/lib/docker/overlay2/95968c35d7ca8746ad6d6973ba1eeac70ebf5171c0f1ff3f2b53357de7aa88c3/merged",
            "UpperDir": "/var/lib/docker/overlay2/95968c35d7ca8746ad6d6973ba1eeac70ebf5171c0f1ff3f2b53357de7aa88c3/diff",
            "WorkDir": "/var/lib/docker/overlay2/95968c35d7ca8746ad6d6973ba1eeac70ebf5171c0f1ff3f2b53357de7aa88c3/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:c09969dbc5e84ea45848232c61ee613e2283d20a03d72bb98bc819d2fbeb3218",
            "sha256:319ef2b69e4a56516166fb5d50cbe316e2963170e68143c7f1561623e476c37f",
            "sha256:644453267501681efcbce60d57b1153758f0c0bf4920350c655b6de2af14b56d",
            "sha256:bc1f80780ad66d9695131f82c011f19d865375bc95184a27466ae199f47af795",
            "sha256:59561a2fd445cc039d4d9ef7e9a118bdea4df0ff3c7af5b0a06d0df08b4bb9b3",
            "sha256:89fa0c2e49a632f25ce839d9ec45d674fe51b019be0f56601be5fc5e93377931",
            "sha256:3c4e7418f66ab128a5abfea3e7cccabd8823ce0785f8ba8afdf375fd8a6909b1",
            "sha256:6aa36ddc808a4423b9f9403a4c3937ae19b0b698ce37f02049a7a0293dc8414a",
            "sha256:c880037d8586a04cb0954112eac089743c7899f6346a265b855c8d4f9a565d86"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-05T18:17:08.749485227+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
279

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
66

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