docker.io/mongo:latest linux/amd64

docker.io/mongo:latest - 国内下载镜像源 浏览次数:279 安全受验证的发布者-Mongo

温馨提示:此镜像为latest tag镜像,本站无法保证此版本为最新镜像

🚀
MongoDB 是一个开源的 NoSQL 文档数据库管理系统。该镜像用于运行 MongoDB 服务,可以用来存储和处理大量数据。
源镜像 docker.io/mongo:latest
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo:latest
镜像ID sha256:d3295cd2d11faa85ffabf4cb88ad7bf4a2c1db9b3a2737800ce47121213573f4
镜像TAG latest
大小 854.21MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mongod
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 279 次
贡献者
镜像创建 2024-10-09T22:01:30Z
同步时间 2024-10-18 11:56
更新时间 2024-11-21 14:10
开放端口
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.1 HOME=/data/db
镜像标签
ubuntu: org.opencontainers.image.ref.name 24.04: org.opencontainers.image.version

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-10-10 06:01:30 CMD ["mongod"]
0.00B 2024-10-10 06:01:30 EXPOSE map[27017/tcp:{}]
0.00B 2024-10-10 06:01:30 ENTRYPOINT ["docker-entrypoint.sh"]
14.17KB 2024-10-10 06:01:30 COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
0.00B 2024-10-10 06:01:30 ENV HOME=/data/db
0.00B 2024-10-10 06:01:30 VOLUME [/data/db /data/configdb]
768.83MB 2024-10-10 06:01:30 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-10 06:01:30 ENV MONGO_VERSION=8.0.1
116.00B 2024-10-10 06:01:30 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-10 06:01:30 ENV MONGO_MAJOR=8.0
0.00B 2024-10-10 06:01:30 ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
0.00B 2024-10-10 06:01:30 ARG MONGO_REPO=repo.mongodb.org
0.00B 2024-10-10 06:01:30 ARG MONGO_PACKAGE=mongodb-org
0.00B 2024-10-10 06:01:30 RUN /bin/sh -c mkdir /docker-entrypoint-initdb.d # buildkit
3.02MB 2024-10-10 06:01:30 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-10 06:01:30 ENV JSYAML_CHECKSUM=662e32319bdd378e91f67578e56a34954b0a2e33aca11d70ab9f4826af24b941
0.00B 2024-10-10 06:01:30 ENV JSYAML_VERSION=3.13.1
0.00B 2024-10-10 06:01:30 ENV GOSU_VERSION=1.17
4.23MB 2024-10-10 06:01:30 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-10 06:01:30 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-10 06:01:30 /bin/sh -c #(nop) CMD ["/bin/bash"]
78.11MB 2024-10-10 06:01:30 /bin/sh -c #(nop) ADD file:34dc4f3ab7a694ecde47ff7a610be18591834c45f1d7251813267798412604e5 in /
0.00B 2024-10-10 06:01:30 /bin/sh -c #(nop) LABEL org.opencontainers.image.version=24.04
0.00B 2024-10-10 06:01:30 /bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
0.00B 2024-10-10 06:01:30 /bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
0.00B 2024-10-10 06:01:30 /bin/sh -c #(nop) ARG RELEASE

镜像信息

{
    "Id": "sha256:d3295cd2d11faa85ffabf4cb88ad7bf4a2c1db9b3a2737800ce47121213573f4",
    "RepoTags": [
        "mongo:latest",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo:latest"
    ],
    "RepoDigests": [
        "mongo@sha256:9342a9279a9841fc5f8192e49dcaaf9404e6bb3a90e8cf134eb96074830dd448",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/mongo@sha256:74f8e07fa77560a4dba413bd840531c3365cc5ede5c4950e485c8027fed22ad1"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-10-09T22:01:30Z",
    "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.1",
            "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": 854214271,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/770a8b7e16f1fba84270bd2322838d3c3e904597ccea0c7d8dceaac971a1aa88/diff:/var/lib/docker/overlay2/d2fe2607c10a9db8a958789036f6531b2410f6c4223dc23f836e515c73cb4dfe/diff:/var/lib/docker/overlay2/31c44580e5b4f55ce947d2684c0f7a0437ca208dcf49d0434440103b5b3cee1e/diff:/var/lib/docker/overlay2/769effb27b5e02cc81a15eee429e38a5bc387e53af942fd608beb655921110b3/diff:/var/lib/docker/overlay2/825d1c72d443b2987bfca972155fc1e1cf050c934a28dd278db0802092beae5e/diff:/var/lib/docker/overlay2/7740492faaec3fc5172058ea9562a79931ad4a2aef1069c10aa0a433ca974c49/diff:/var/lib/docker/overlay2/66bcd0d171e5753f08fc2ba86a3c6615a543d21d382ab127ede9b2376a49d649/diff",
            "MergedDir": "/var/lib/docker/overlay2/04e31de34aebe994bfd35c51779f0ec7040785d9f0112ec00f1befc76fa7bea8/merged",
            "UpperDir": "/var/lib/docker/overlay2/04e31de34aebe994bfd35c51779f0ec7040785d9f0112ec00f1befc76fa7bea8/diff",
            "WorkDir": "/var/lib/docker/overlay2/04e31de34aebe994bfd35c51779f0ec7040785d9f0112ec00f1befc76fa7bea8/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:a46a5fb872b554648d9d0262f302b2c1ded46eeb1ef4dc727ecc5274605937af",
            "sha256:c99c15bf2d774dfb58c7444fde1f0dd0a9e55fa28cab27e36aa75e37330b2649",
            "sha256:b0455140763b552e8c195cf9578d3da03e5eff599607efc6c28828df8f6621ce",
            "sha256:c50036bf26654b80efe4051ea906eec71136a64f57219c3b7c93d41bf232808f",
            "sha256:daac58946803f386636052738fbd5ac9335eedbea40fa217c6f65e7325f5bc74",
            "sha256:be667515d71affa6b14061205da9e1e690de2d913950603ef31514ba361a5486",
            "sha256:01f251e2fdeeb46b462de41b9de504233c44d033db761fdee6237e51e227add0",
            "sha256:6adab1994625c0053bf4b3ad65d8c7a996bc8abf8488d3d211feaf2158e8c090"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-18T11:55:24.076156421+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
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