docker.io/library/mongo:6.0.14-jammy linux/amd64

docker.io/library/mongo:6.0.14-jammy - 国内下载镜像源 浏览次数:52 安全受验证的发布者-Docker

MongoDB是一个开源的NoSQL数据库解决方案,提供了高性能、高可扩展性和灵活的数据存储方式。该镜像用于运行MongoDB实例,可以用于开发、测试和生产环境中。

源镜像 docker.io/library/mongo:6.0.14-jammy
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/mongo:6.0.14-jammy
镜像ID sha256:ba573339425152eaca413ff1a519446adc01426e1983e8dceefac2203f65d92f
镜像TAG 6.0.14-jammy
大小 690.59MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mongod
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 52 次
贡献者
镜像创建 2024-02-29T23:30:03Z
同步时间 2024-10-31 20:11
更新时间 2024-12-03 23:59
开放端口
27017/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOSU_VERSION=1.17 JSYAML_VERSION=3.13.1 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org MONGO_MAJOR=6.0 MONGO_VERSION=6.0.14 HOME=/data/db
镜像标签
ubuntu: org.opencontainers.image.ref.name 22.04: org.opencontainers.image.version
镜像安全扫描 查看Trivy扫描报告

系统OS: ubuntu 22.04 扫描引擎: Trivy 扫描时间: 2024-11-01 14:41

低危漏洞:43 中危漏洞:55 高危漏洞:31 严重漏洞:3

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-03-01 07:30:03 CMD ["mongod"]
0.00B 2024-03-01 07:30:03 EXPOSE map[27017/tcp:{}]
0.00B 2024-03-01 07:30:03 ENTRYPOINT ["docker-entrypoint.sh"]
14.17KB 2024-03-01 07:30:03 COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
0.00B 2024-03-01 07:30:03 ENV HOME=/data/db
0.00B 2024-03-01 07:30:03 VOLUME [/data/db /data/configdb]
605.21MB 2024-03-01 07:30:03 RUN |2 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org /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 ${MONGO_PACKAGE}-database=$MONGO_VERSION ${MONGO_PACKAGE}-database-tools-extra=$MONGO_VERSION && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mongodb && mv /etc/mongod.conf /etc/mongod.conf.orig # buildkit
0.00B 2024-03-01 07:30:03 ENV MONGO_VERSION=6.0.14
116.00B 2024-03-01 07:30:03 RUN |2 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org /bin/sh -c echo "deb [ signed-by=/etc/apt/keyrings/mongodb.asc ] http://$MONGO_REPO/apt/ubuntu jammy/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit
0.00B 2024-03-01 07:30:03 ENV MONGO_MAJOR=6.0
0.00B 2024-03-01 07:30:03 ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
0.00B 2024-03-01 07:30:03 ARG MONGO_REPO=repo.mongodb.org
0.00B 2024-03-01 07:30:03 ARG MONGO_PACKAGE=mongodb-org
0.00B 2024-03-01 07:30:03 RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
2.94MB 2024-03-01 07:30:03 RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends gnupg 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; mkdir -p /opt/js-yaml/; wget -O /opt/js-yaml/js-yaml.js "https://github.com/nodeca/js-yaml/raw/${JSYAML_VERSION}/dist/js-yaml.js"; wget -O /opt/js-yaml/package.json "https://github.com/nodeca/js-yaml/raw/${JSYAML_VERSION}/package.json"; ln -s /opt/js-yaml/js-yaml.js /js-yaml.js; export GNUPGHOME="$(mktemp -d)"; wget -O KEYS 'https://pgp.mongodb.com/server-6.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '39BD841E4BE5FB195A65400E6A26B1AE64C3C388' > /etc/apt/keyrings/mongodb.asc; gpgconf --kill all; rm -rf "$GNUPGHOME" KEYS; 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 # buildkit
0.00B 2024-03-01 07:30:03 ENV JSYAML_VERSION=3.13.1
0.00B 2024-03-01 07:30:03 ENV GOSU_VERSION=1.17
4.23MB 2024-03-01 07:30:03 RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates jq numactl procps ; rm -rf /var/lib/apt/lists/* # buildkit
328.57KB 2024-03-01 07:30:03 RUN /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 # buildkit
0.00B 2024-03-01 07:30:03 /bin/sh -c #(nop) CMD ["/bin/bash"]
77.86MB 2024-03-01 07:30:03 /bin/sh -c #(nop) ADD file:3bd10da0673e2e72cb06a1f64a9df49a36341df39b0f762e3d1b38ee4de296fa in /
0.00B 2024-03-01 07:30:03 /bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04
0.00B 2024-03-01 07:30:03 /bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
0.00B 2024-03-01 07:30:03 /bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
0.00B 2024-03-01 07:30:03 /bin/sh -c #(nop) ARG RELEASE

镜像信息

{
    "Id": "sha256:ba573339425152eaca413ff1a519446adc01426e1983e8dceefac2203f65d92f",
    "RepoTags": [
        "mongo:6.0.14-jammy",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/mongo:6.0.14-jammy"
    ],
    "RepoDigests": [
        "mongo@sha256:e4a9a8e125578970a1f327a943053284a8d417fc30bc6d4cafe24ed2daad1821",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/mongo@sha256:18ecbf9a1c89d6cf7cadd4b3e522f2dd44149a445ae5c71c51ceacfb8529caf8"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-02-29T23:30:03Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "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.17",
            "JSYAML_VERSION=3.13.1",
            "MONGO_PACKAGE=mongodb-org",
            "MONGO_REPO=repo.mongodb.org",
            "MONGO_MAJOR=6.0",
            "MONGO_VERSION=6.0.14",
            "HOME=/data/db"
        ],
        "Cmd": [
            "mongod"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/data/configdb": {},
            "/data/db": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.version": "22.04"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 690593444,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/f2d4239312c0d6ac3f1a98d66d9aa9ad91263af6bf2dce73e49ccbd1171aa234/diff:/var/lib/docker/overlay2/f14f2afa541e438aaab5700f0cd8b37bb6487f0f0bcf80cc9ff707a9fa7de028/diff:/var/lib/docker/overlay2/eed6e9c2ad0fa3cd429e3ed33eb1bacc7480bc6f92c8e5ddde96631a7b7e00f0/diff:/var/lib/docker/overlay2/cf4f518fafaa34b04be9330d836ca7c9d8add8c67eb0a0a27817d7d2663eaf15/diff:/var/lib/docker/overlay2/e3e265303a4fe07120e655c36b55a146dc890cc840a6cc02d9744e3f854331bd/diff:/var/lib/docker/overlay2/cf4c04e2d97f33bd4fb6c9eb2dfdbba0c70459e73b8b445962a196762a67d5b7/diff:/var/lib/docker/overlay2/9ddcc60d4748ba598919c2e03f0554e01df80384c69a78e1a22fff703d55f59f/diff",
            "MergedDir": "/var/lib/docker/overlay2/ca6d093cd62b36983431852ae09de91b116512baec5ad99ee1afe0717b611550/merged",
            "UpperDir": "/var/lib/docker/overlay2/ca6d093cd62b36983431852ae09de91b116512baec5ad99ee1afe0717b611550/diff",
            "WorkDir": "/var/lib/docker/overlay2/ca6d093cd62b36983431852ae09de91b116512baec5ad99ee1afe0717b611550/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:e0a9f5911802534ba097660206feabeb0247a81e409029167b30e2e1f2803b57",
            "sha256:7351ef14a68bcbb6582b547b8654273c9bbb88a9e784c0912797c7f7763b9f85",
            "sha256:7b9c9846b06607a2a3442debd0863e45efd5dbc74c5675d7e9557717a740cc3b",
            "sha256:c2932a3e36ed1dcce54b229771585d6b24c8f3839c858617d2a734720ad23b76",
            "sha256:b03bb69ff32ec15c39edb900ab9ee8c765a6ed5b33c9751c5b6dbd684214e66a",
            "sha256:f58c7f88d6a0640a316e210c3734f6e9993fdfb602ebeca975dfca1789a33c13",
            "sha256:b0155b5baac5c9ce6b779986d5b5cbb1db30bc3bc0f5e586d19d826ccb5703a3",
            "sha256:e8035bba4cdf4ee2f6659e81de593ceada6d29e3398c6ca51a4c2ba81ea03c59"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-31T20:11:06.030222554+08:00"
    }
}

更多版本

docker.io/library/mongo:4.4

linux/amd64 docker.io427.29MB2024-07-08 12:51
508

docker.io/library/mongo:7.0.12

linux/arm64 docker.io760.57MB2024-07-09 00:53
346

docker.io/library/mongo:7.0.12

linux/amd64 docker.io795.86MB2024-07-09 10:13
312

docker.io/library/mongo:4.2.24-bionic

linux/amd64 docker.io388.32MB2024-08-27 14:04
126

docker.io/library/mongo:6.0.14-jammy

linux/amd64 docker.io690.59MB2024-10-31 20:11
51