docker.io/amd64/mongo:4.0.13 linux/amd64

docker.io/amd64/mongo:4.0.13 - 国内下载镜像源 浏览次数:17

MongoDB 镜像

这是一个基于 AMD64 架构的 MongoDB 容器镜像。它包含了 MongoDB 的最新稳定版本,并提供了完整的数据库功能。您可以使用此镜像快速构建并运行 MongoDB 数据库,无需进行任何配置。 **特点:** * 包含 MongoDB 的最新稳定版本 * 支持 AMD64 架构 * 提供完整的数据库功能 * 易于部署和使用 **使用场景:** * 开发和测试 MongoDB 应用程序 * 部署生产环境中的 MongoDB 数据库 * 快速启动和停止 MongoDB 实例 **其他信息:** * 该镜像由 Docker 官方维护 * 可以在 Docker Hub 上找到更多关于此镜像的信息
源镜像 docker.io/amd64/mongo:4.0.13
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/amd64/mongo:4.0.13
镜像ID sha256:0712bd00d695f12ce3deac6f8425af7a782ee6c2bbb4697af7d94ba341c68ae7
镜像TAG 4.0.13
大小 415.85MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mongod
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 17 次
贡献者
镜像创建 2019-11-27T02:04:43.538366275Z
同步时间 2024-11-16 03:33
更新时间 2024-11-20 08:23
开放端口
27017/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOSU_VERSION=1.11 JSYAML_VERSION=3.13.0 GPG_KEYS=9DA31620334BD75D9DCB49F368818C72E52529D4 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org MONGO_MAJOR=4.0 MONGO_VERSION=4.0.13
镜像安全扫描 查看Trivy扫描报告

系统OS: ubuntu 16.04 扫描引擎: Trivy 扫描时间: 2024-11-16 03:33

低危漏洞:53 中危漏洞:70 高危漏洞:2 严重漏洞:0

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2019-11-27 10:04:43 /bin/sh -c #(nop) CMD ["mongod"]
0.00B 2019-11-27 10:04:42 /bin/sh -c #(nop) EXPOSE 27017
0.00B 2019-11-27 10:04:41 /bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
11.31KB 2019-11-27 10:04:40 /bin/sh -c #(nop) COPY file:021686a669d0d1d1cbb99d6ca84ff8de10577b78ea985b8cdab9d75b347a3bd0 in /usr/local/bin/
0.00B 2019-11-27 10:04:40 /bin/sh -c #(nop) VOLUME [/data/db /data/configdb]
0.00B 2019-11-27 10:04:40 /bin/sh -c mkdir -p /data/db /data/configdb && chown -R mongodb:mongodb /data/db /data/configdb
282.38MB 2019-11-27 10:04:39 /bin/sh -c set -x && 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
73.00B 2019-11-27 10:04:22 /bin/sh -c echo "deb http://$MONGO_REPO/apt/ubuntu xenial/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list"
0.00B 2019-11-27 10:04:22 /bin/sh -c #(nop) ENV MONGO_VERSION=4.0.13
0.00B 2019-11-27 10:04:21 /bin/sh -c #(nop) ENV MONGO_MAJOR=4.0
0.00B 2019-11-27 10:04:21 /bin/sh -c #(nop) ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
0.00B 2019-11-27 10:04:21 /bin/sh -c #(nop) ARG MONGO_REPO=repo.mongodb.org
0.00B 2019-11-27 10:04:21 /bin/sh -c #(nop) ARG MONGO_PACKAGE=mongodb-org
1.16KB 2019-11-27 10:04:21 /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
0.00B 2019-11-27 10:04:20 /bin/sh -c #(nop) ENV GPG_KEYS=9DA31620334BD75D9DCB49F368818C72E52529D4
0.00B 2019-11-27 10:03:19 /bin/sh -c mkdir /docker-entrypoint-initdb.d
3.54MB 2019-11-27 10:03:19 /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; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true; 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
0.00B 2019-11-27 10:03:08 /bin/sh -c #(nop) ENV JSYAML_VERSION=3.13.0
0.00B 2019-11-27 10:03:08 /bin/sh -c #(nop) ENV GOSU_VERSION=1.11
7.03MB 2019-11-27 10:03:08 /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/*
329.95KB 2019-11-27 10:02:59 /bin/sh -c groupadd -r mongodb && useradd -r -g mongodb mongodb
0.00B 2019-11-27 08:22:56 /bin/sh -c #(nop) CMD ["/bin/bash"]
7.00B 2019-11-27 08:22:56 /bin/sh -c mkdir -p /run/systemd && echo 'docker' > /run/systemd/container
745.00B 2019-11-27 08:22:56 /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
0.00B 2019-11-27 08:22:55 /bin/sh -c rm -rf /var/lib/apt/lists/*
122.57MB 2019-11-27 08:22:54 /bin/sh -c #(nop) ADD file:4eb02fc768cad452a37e8df30bbfcc728f3e6e7ca33af177fd4de06fd07c2098 in /

镜像信息

{
    "Id": "sha256:0712bd00d695f12ce3deac6f8425af7a782ee6c2bbb4697af7d94ba341c68ae7",
    "RepoTags": [
        "amd64/mongo:4.0.13",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/amd64/mongo:4.0.13"
    ],
    "RepoDigests": [
        "amd64/mongo@sha256:5b3ef62bf1293288664710d6ed485851099c869c3048e0cae0c868a216aef907",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/amd64/mongo@sha256:f0397f249d2ced55ce59c7c50a8490ea536ffe4af4db75801f3443a380b7070a"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2019-11-27T02:04:43.538366275Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "18.06.1-ce",
    "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.11",
            "JSYAML_VERSION=3.13.0",
            "GPG_KEYS=9DA31620334BD75D9DCB49F368818C72E52529D4",
            "MONGO_PACKAGE=mongodb-org",
            "MONGO_REPO=repo.mongodb.org",
            "MONGO_MAJOR=4.0",
            "MONGO_VERSION=4.0.13"
        ],
        "Cmd": [
            "mongod"
        ],
        "ArgsEscaped": true,
        "Image": "sha256:4e7cefa246955defd9e08c7ce042b7e21539ea0d530e4237aea9f067cdff1308",
        "Volumes": {
            "/data/configdb": {},
            "/data/db": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 415849789,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/38d78843f8a56a4479b12e43bfbccd6f0cccde3e737c03f230cba050adccde31/diff:/var/lib/docker/overlay2/03019500a34908d616509d610b3b2d87703d58a3251b48b34b5ec1e442c6d370/diff:/var/lib/docker/overlay2/c11fcd17f4df6ab145768c65ce2ee37353c46f0c8306d4c6435226e45a275f88/diff:/var/lib/docker/overlay2/dd23b8425684daf03965abc74f2a8d755125e5634bedc40ec1df662eeeb34e5b/diff:/var/lib/docker/overlay2/c15fb65beb56570e6c436089f9467d09d274485c5cd1f4276ea22f1dbce197cb/diff:/var/lib/docker/overlay2/cab6b993860ae7612d312a0689aebd43d2b7ccf65f3cc8b926e51273f5b5baa7/diff:/var/lib/docker/overlay2/202f1d83bc38594fea77d5c620d4789fdf51801445bb074a3fb94323621f37a5/diff:/var/lib/docker/overlay2/8c6b874385e96c790643235d168407f681a59af3d4b6450889e1098702059a7b/diff:/var/lib/docker/overlay2/dbb155744eda2c436573b30ebba35f57fc942c0094335858eced93645aceaf95/diff:/var/lib/docker/overlay2/3f8cba9669f03e485397a9dabf1520d1e529adc8f9622f64494e2ed1f539d1eb/diff:/var/lib/docker/overlay2/7ef4a29b51c5dc23758eb00afa7da9b1d776fa97be7331399e683d89ddf67752/diff:/var/lib/docker/overlay2/94ed67acd88223cac109981fc5a65faeb196f572cf5ac510542becc80dd4a324/diff",
            "MergedDir": "/var/lib/docker/overlay2/d0af0a5cb8a5b0552966150db0a2790245d11ae0368470bb49b5451d305353f6/merged",
            "UpperDir": "/var/lib/docker/overlay2/d0af0a5cb8a5b0552966150db0a2790245d11ae0368470bb49b5451d305353f6/diff",
            "WorkDir": "/var/lib/docker/overlay2/d0af0a5cb8a5b0552966150db0a2790245d11ae0368470bb49b5451d305353f6/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:7082d7d696f8489bc9030e119acc56e210b6314bc8ac91aa69ed11c57c9243ba",
            "sha256:1b039d138968f3020729c79dbd6d21ad08d392669a1b65f133fa831a2a996a1a",
            "sha256:48817fbd6c9229f1ce54d41457fce1e9c1949233aa55bbc56b7d5cabb3f20974",
            "sha256:aa7f8c8d5f39c24f06fded84c11b4b22d7c6f1c153b644d7e56f879ce63ef2b6",
            "sha256:20af5ab896d52adb4434afaaa58e2319215608ff359671bdf24f761e5330b44a",
            "sha256:ba08e4613215737dead11f2695f6bd8e8c757808a66e7006f89ea61dcc34b427",
            "sha256:604546764a0a7a57e313cfb71d1a8087bb89c21313815105602a4af3ab865f3c",
            "sha256:59d36eef4dc5457c7a5df69b2729553436bea576020be7c26de5c5c742a19235",
            "sha256:13c242d9404c5f4396c6876cd1656e7abc80b085d880933a80c3903784b776eb",
            "sha256:22a682993f133811650aa9ea50603ac1715d99ac7346890d7fe7c04fc776e62b",
            "sha256:02b900d68dc8b7a6a410c0a1bf18337963da685866689223f3f945216d073b6b",
            "sha256:a4d2b59b09523b5e08337b1b5edc87adc97dc2cfc21920f7ad2a12d708c9a935",
            "sha256:65759f6c028eb506ead39096cc75c083abc3b84190bd5ff9194cd2d9c410291a"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-16T03:33:30.506383797+08:00"
    }
}

更多版本

docker.io/amd64/mongo:8

linux/amd64 docker.io855.24MB2024-11-13 22:33
18

docker.io/amd64/mongo:4.0.13

linux/amd64 docker.io415.85MB2024-11-16 03:33
16