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

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

MongoDB 镜像

这是一个基于 AMD64 架构的 MongoDB 容器镜像。它包含了 MongoDB 的最新稳定版本,并提供了完整的数据库功能。您可以使用此镜像快速构建并运行 MongoDB 数据库,无需进行任何配置。 **特点:** * 包含 MongoDB 的最新稳定版本 * 支持 AMD64 架构 * 提供完整的数据库功能 * 易于部署和使用 **使用场景:** * 开发和测试 MongoDB 应用程序 * 部署生产环境中的 MongoDB 数据库 * 快速启动和停止 MongoDB 实例 **其他信息:** * 该镜像由 Docker 官方维护 * 可以在 Docker Hub 上找到更多关于此镜像的信息
源镜像 docker.io/amd64/mongo:8
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/amd64/mongo:8
镜像ID sha256:77c59b6384122cf12efabd7a6ba739f2f18c4eed6632a8029715dc0323c7f0f9
镜像TAG 8
大小 855.24MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mongod
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 19 次
贡献者
镜像创建 2024-10-25T04:15:38Z
同步时间 2024-11-13 22:33
更新时间 2024-11-21 12:00
开放端口
27017/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOSU_VERSION=1.17 JSYAML_VERSION=3.13.1 JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941 MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org MONGO_MAJOR=8.0 MONGO_VERSION=8.0.3 HOME=/data/db
镜像标签
ubuntu: org.opencontainers.image.ref.name 24.04: org.opencontainers.image.version
镜像安全扫描 查看Trivy扫描报告

系统OS: ubuntu 24.04 扫描引擎: Trivy 扫描时间: 2024-11-13 22:33

低危漏洞:18 中危漏洞:26 高危漏洞:31 严重漏洞:3

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-10-25 12:15:38 CMD ["mongod"]
0.00B 2024-10-25 12:15:38 EXPOSE map[27017/tcp:{}]
0.00B 2024-10-25 12:15:38 ENTRYPOINT ["docker-entrypoint.sh"]
14.17KB 2024-10-25 12:15:38 COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
0.00B 2024-10-25 12:15:38 ENV HOME=/data/db
0.00B 2024-10-25 12:15:38 VOLUME [/data/db /data/configdb]
769.86MB 2024-10-25 12:15:38 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-10-25 12:15:38 ENV MONGO_VERSION=8.0.3
116.00B 2024-10-25 12:15:38 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 noble/${MONGO_PACKAGE%-unstable}/$MONGO_MAJOR multiverse" | tee "/etc/apt/sources.list.d/${MONGO_PACKAGE%-unstable}.list" # buildkit
0.00B 2024-10-25 12:15:38 ENV MONGO_MAJOR=8.0
0.00B 2024-10-25 12:15:38 ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
0.00B 2024-10-25 12:15:38 ARG MONGO_REPO=repo.mongodb.org
0.00B 2024-10-25 12:15:38 ARG MONGO_PACKAGE=mongodb-org
0.00B 2024-10-25 12:15:38 RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
3.02MB 2024-10-25 12:15:38 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.tgz https://registry.npmjs.org/js-yaml/-/js-yaml-${JSYAML_VERSION}.tgz; echo "$JSYAML_CHECKSUM */opt/js-yaml/js-yaml.tgz" | sha256sum -c -; tar -xz --strip-components=1 -f /opt/js-yaml/js-yaml.tgz -C /opt/js-yaml package/dist/js-yaml.js package/package.json; rm /opt/js-yaml/js-yaml.tgz; ln -s /opt/js-yaml/dist/js-yaml.js /js-yaml.js; export GNUPGHOME="$(mktemp -d)"; wget -O KEYS 'https://pgp.mongodb.com/server-8.0.asc'; gpg --batch --import KEYS; mkdir -p /etc/apt/keyrings; gpg --batch --export --armor '4B0752C1BCA238C0B4EE14DC41DE058A4E7DCA05' > /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-10-25 12:15:38 ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941
0.00B 2024-10-25 12:15:38 ENV JSYAML_VERSION=3.13.1
0.00B 2024-10-25 12:15:38 ENV GOSU_VERSION=1.17
4.23MB 2024-10-25 12:15:38 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
4.73KB 2024-10-25 12:15:38 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-10-11 11:48:04 /bin/sh -c #(nop) CMD ["/bin/bash"]
78.11MB 2024-10-11 11:48:03 /bin/sh -c #(nop) ADD file:34dc4f3ab7a694ecde47ff7a610be18591834c45f1d7251813267798412604e5 in /
0.00B 2024-10-11 11:48:01 /bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04
0.00B 2024-10-11 11:48:01 /bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
0.00B 2024-10-11 11:48:01 /bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
0.00B 2024-10-11 11:48:01 /bin/sh -c #(nop) ARG RELEASE

镜像信息

{
    "Id": "sha256:77c59b6384122cf12efabd7a6ba739f2f18c4eed6632a8029715dc0323c7f0f9",
    "RepoTags": [
        "amd64/mongo:8",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/amd64/mongo:8"
    ],
    "RepoDigests": [
        "amd64/mongo@sha256:b41924399dc814fa59a6cc7ce1a6b81ea46ef9a9ebdcbbbc047dc8347b04cf18",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/amd64/mongo@sha256:3cd6856b5de74aba9a0209e5e9002808014e241bbf996edb6cc2c4691f805fe2"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-10-25T04:15:38Z",
    "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",
            "JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941",
            "MONGO_PACKAGE=mongodb-org",
            "MONGO_REPO=repo.mongodb.org",
            "MONGO_MAJOR=8.0",
            "MONGO_VERSION=8.0.3",
            "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": "24.04"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 855244287,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/17ae8d5cb5a809afc5dadf9f5539944d59298fd57f805f45647b6b70bfe4444d/diff:/var/lib/docker/overlay2/9c56f1de2856bd55528004b5e37c7511b0ef4d5926de6faaa4ca88533ccd9f72/diff:/var/lib/docker/overlay2/151dd548990efeee85a0d1f9d438dd46829c9583eeaa61dc944c63c334c91ea0/diff:/var/lib/docker/overlay2/d513e83bcefa385e1dbdf5d496ff0d8548899b9035cefd6a1e60ac2d54aa54d8/diff:/var/lib/docker/overlay2/29e351f1fd15387b6395b69694f84cb01fa61282fe185aa4446a30e030050921/diff:/var/lib/docker/overlay2/ac5b4953560fd0b634330ded64f303b55bb99de6d4f136ff7e4f49819773e7a4/diff:/var/lib/docker/overlay2/66bcd0d171e5753f08fc2ba86a3c6615a543d21d382ab127ede9b2376a49d649/diff",
            "MergedDir": "/var/lib/docker/overlay2/a793ffdf571a1f6b64a4c822e0da18bd91c1d11ad88be3d3cd9d4d19c6865f2b/merged",
            "UpperDir": "/var/lib/docker/overlay2/a793ffdf571a1f6b64a4c822e0da18bd91c1d11ad88be3d3cd9d4d19c6865f2b/diff",
            "WorkDir": "/var/lib/docker/overlay2/a793ffdf571a1f6b64a4c822e0da18bd91c1d11ad88be3d3cd9d4d19c6865f2b/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:a46a5fb872b554648d9d0262f302b2c1ded46eeb1ef4dc727ecc5274605937af",
            "sha256:1fb6f48a4de7d74a66025d99760cd43d598335954f2581d17d52e807caf65597",
            "sha256:9d8a3355331b493ae21adf60c612d05b073081cabb5d8d925867abda9c0d92a3",
            "sha256:657c83d65d00048be0c272ff8d9e4e8aa5f34bccafc7fd88251b95a8a4038e06",
            "sha256:469b4f91f15725d320236300ed76d2999ca1cdf38026981697e92d931a5a98c6",
            "sha256:5bb37e3368cb00802d0049ff836d12e5a3cf6c48d4443598dd5d18ffd9331a38",
            "sha256:a72b6f80fa6c0079f8b7d8457de75bc069474881e79c6d840ae482402d5cff54",
            "sha256:e0109516f378a22e59a9393580dd4a7b142b03f635cc75889fda04d15a5b52fe"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-13T22:32:40.448212984+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
17