docker.io/library/mongo:4.2.24-bionic linux/amd64

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

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

源镜像 docker.io/library/mongo:4.2.24-bionic
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/mongo:4.2.24-bionic
镜像ID sha256:9b5c4a4fdcb5adb07f1508457bbbf8c6122917738c9fa8e7e92e45df74af9b6d
镜像TAG 4.2.24-bionic
大小 388.32MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD mongod
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 113 次
贡献者
镜像创建 2023-06-02T01:28:48.276175579Z
同步时间 2024-08-27 14:04
更新时间 2024-11-20 10:13
开放端口
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

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2023-06-02 09:28:48 /bin/sh -c #(nop) CMD ["mongod"]
0.00B 2023-06-02 09:28:48 /bin/sh -c #(nop) EXPOSE 27017
0.00B 2023-06-02 09:28:48 /bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
14.23KB 2023-06-02 09:28:48 /bin/sh -c #(nop) COPY file:e3d6a34db83fe880626bff5d0b8d720ae43720caac9c739cbd1d336a129dad2d in /usr/local/bin/
0.00B 2023-06-02 09:28:47 /bin/sh -c #(nop) ENV HOME=/data/db
0.00B 2023-06-02 09:28:47 /bin/sh -c #(nop) VOLUME [/data/db /data/configdb]
303.71MB 2023-06-02 09:28:47 /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 09:28:30 /bin/sh -c #(nop) ENV MONGO_VERSION=4.2.24
117.00B 2023-06-02 09:28:30 /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 09:28:29 /bin/sh -c #(nop) ENV MONGO_MAJOR=4.2
0.00B 2023-06-02 09:28:29 /bin/sh -c #(nop) ENV MONGO_PACKAGE=mongodb-org MONGO_REPO=repo.mongodb.org
0.00B 2023-06-02 09:28:29 /bin/sh -c #(nop) ARG MONGO_REPO=repo.mongodb.org
0.00B 2023-06-02 09:28:29 /bin/sh -c #(nop) ARG MONGO_PACKAGE=mongodb-org
1.16KB 2023-06-02 09:28:29 /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 09:28:28 /bin/sh -c mkdir /docker-entrypoint-initdb.d
3.52MB 2023-06-02 09:28:27 /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 09:28:19 /bin/sh -c #(nop) ENV JSYAML_VERSION=3.13.1
0.00B 2023-06-02 09:28:19 /bin/sh -c #(nop) ENV GOSU_VERSION=1.16
17.53MB 2023-06-02 09:28:19 /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/*
392.58KB 2023-06-02 09:28:08 /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:32:09 /bin/sh -c #(nop) CMD ["/bin/bash"]
63.16MB 2023-05-30 17:32:09 /bin/sh -c #(nop) ADD file:3c74e7e08cbf9a87694ce6fa541af617599680fa54d9e48556fc0fbc120b4a83 in /
0.00B 2023-05-30 17:32:07 /bin/sh -c #(nop) LABEL org.opencontainers.image.version=18.04
0.00B 2023-05-30 17:32:07 /bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu
0.00B 2023-05-30 17:32:07 /bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH
0.00B 2023-05-30 17:32:07 /bin/sh -c #(nop) ARG RELEASE

镜像信息

{
    "Id": "sha256:9b5c4a4fdcb5adb07f1508457bbbf8c6122917738c9fa8e7e92e45df74af9b6d",
    "RepoTags": [
        "mongo:4.2.24-bionic",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/mongo:4.2.24-bionic"
    ],
    "RepoDigests": [
        "mongo@sha256:4dd9ff05e216a482707cf0e7948c8a3b312403bf25bb37c8ca9d5f30b779459f",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/mongo@sha256:e43605102083aca04677b02446d9289ef495b0e97251d298c9840abe1f0256a1"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2023-06-02T01:28:48.276175579Z",
    "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:bbc76084b6160187af84a73032621721655e192bde618d633df8eed8a7890884",
        "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": "amd64",
    "Os": "linux",
    "Size": 388323815,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/b8b3fb0035f94a68687762bcd66aa5d904243d6d9da12c4da9fd615220202341/diff:/var/lib/docker/overlay2/add4d5da4a753a72f7b1030bb4aa2e30b246d2a4c47f69b3f699847480d4938e/diff:/var/lib/docker/overlay2/e4333611a1bd665efca65571948246e527b0b90e1c0ac203fb3062a584adc501/diff:/var/lib/docker/overlay2/152420d9b3404bad6e90f38573dc2d73436a0bf821895c4a3c7d75be2e9d7430/diff:/var/lib/docker/overlay2/6263f892b525b4a0e390f7fd4d5241e3c1d870f87b6f96bb48ecdd249fb109ec/diff:/var/lib/docker/overlay2/c6040a02638625d48fcc3db927188ed1704e834adb67ed07bc77ccb9ee247a20/diff:/var/lib/docker/overlay2/13cdee8913ac794bbc7b400a5186cba94f44418b58746f4d2b04c24f348ba901/diff:/var/lib/docker/overlay2/1884434a7a2af5763508f9c7322df3fe15436759460505c97ca92fbe3a615386/diff",
            "MergedDir": "/var/lib/docker/overlay2/3a2b9fb0d26d214bd4e70f580fff5f3679f69be9dd3cba928694118bdaa4e59e/merged",
            "UpperDir": "/var/lib/docker/overlay2/3a2b9fb0d26d214bd4e70f580fff5f3679f69be9dd3cba928694118bdaa4e59e/diff",
            "WorkDir": "/var/lib/docker/overlay2/3a2b9fb0d26d214bd4e70f580fff5f3679f69be9dd3cba928694118bdaa4e59e/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:548a79621a426b4eb077c926eabac5a8620c454fb230640253e1b44dc7dd7562",
            "sha256:009afd448c57e4374713752beb93e7273bb2ef3fba77846619bcab914c6cb33f",
            "sha256:7ddbff1f9d1330e2c9684d8ad4872b6b402223c66191976d8e344849ccfa3126",
            "sha256:18825f15cdcf1ba91df1be4ea7f4e731c881c39c89dc106204852d12868086f1",
            "sha256:5d499df675f4cabf17dab7674c38abd11c23441b2c5a4a4004fdc2832c8caded",
            "sha256:c315ca16ab27d8120812bfc82b60f632ef053a3d8481af6a6936c26c3857e9e4",
            "sha256:b3a51f49e75294ad437062d3cabee27aa5745faafc0448c189baeeeb84f4423a",
            "sha256:86b09be5c21ffbb91d0f30d6a214a72bf3d82e30803391c9a1ed2fe683939c8d",
            "sha256:1ebfabb84dedfa7fadf722dc2034874e62d681849d667e838c87630116db2a70"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-08-27T14:03:40.383355992+08:00"
    }
}

更多版本

docker.io/library/mongo:4.4

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

docker.io/library/mongo:7.0.12

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

docker.io/library/mongo:7.0.12

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

docker.io/library/mongo:4.2.24-bionic

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

docker.io/library/mongo:6.0.14-jammy

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