docker.io/library/redis:5.0.8 linux/amd64

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

该Docker镜像名为docker.io/library/redis,该镜像是基于Redis开源实时数据库软件的官方镜像,提供了Redis的基本功能,如字符串存储、哈希表、列表、集合、有序集合等。

源镜像 docker.io/library/redis:5.0.8
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/redis:5.0.8
镜像ID sha256:975fe4b9f798b9fbebc9f867934472b6aa0dec3c6cf4e9b61234a32491d50a75
镜像TAG 5.0.8
大小 98.32MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD redis-server
启动入口 docker-entrypoint.sh
工作目录 /data
OS/平台 linux/amd64
浏览量 96 次
贡献者
镜像创建 2020-04-16T20:56:54.475227001Z
同步时间 2024-10-30 15:38
更新时间 2024-11-21 15:51
开放端口
6379/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOSU_VERSION=1.12 REDIS_VERSION=5.0.8 REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-5.0.8.tar.gz REDIS_DOWNLOAD_SHA=f3c7eac42f433326a8d981b50dba0169fdfaf46abb23fcda2f933a7552ee4ed7
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 10.3 扫描引擎: Trivy 扫描时间: 2024-10-30 15:38

低危漏洞:90 中危漏洞:99 高危漏洞:123 严重漏洞:20

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/redis:5.0.8
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/redis:5.0.8  docker.io/library/redis:5.0.8

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/redis:5.0.8
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/redis:5.0.8  docker.io/library/redis:5.0.8

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2020-04-17 04:56:54 /bin/sh -c #(nop) CMD ["redis-server"]
0.00B 2020-04-17 04:56:54 /bin/sh -c #(nop) EXPOSE 6379
0.00B 2020-04-17 04:56:54 /bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
374.00B 2020-04-17 04:56:53 /bin/sh -c #(nop) COPY file:df205a0ef6e6df8947ce0a7ae9e37b6a5588035647f38a49b8b07321003a8a01 in /usr/local/bin/
0.00B 2020-04-17 04:56:53 /bin/sh -c #(nop) WORKDIR /data
0.00B 2020-04-17 04:56:53 /bin/sh -c #(nop) VOLUME [/data]
0.00B 2020-04-17 04:56:53 /bin/sh -c mkdir /data && chown redis:redis /data
24.63MB 2020-04-17 04:56:52 /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates wget gcc libc6-dev make ; rm -rf /var/lib/apt/lists/*; wget -O redis.tar.gz "$REDIS_DOWNLOAD_URL"; echo "$REDIS_DOWNLOAD_SHA *redis.tar.gz" | sha256sum -c -; mkdir -p /usr/src/redis; tar -xzf redis.tar.gz -C /usr/src/redis --strip-components=1; rm redis.tar.gz; grep -q '^#define CONFIG_DEFAULT_PROTECTED_MODE 1$' /usr/src/redis/src/server.h; sed -ri 's!^(#define CONFIG_DEFAULT_PROTECTED_MODE) 1$!\1 0!' /usr/src/redis/src/server.h; grep -q '^#define CONFIG_DEFAULT_PROTECTED_MODE 0$' /usr/src/redis/src/server.h; make -C /usr/src/redis -j "$(nproc)" all; make -C /usr/src/redis install; serverMd5="$(md5sum /usr/local/bin/redis-server | cut -d' ' -f1)"; export serverMd5; find /usr/local/bin/redis* -maxdepth 0 -type f -not -name redis-server -exec sh -eux -c ' md5="$(md5sum "$1" | cut -d" " -f1)"; test "$md5" = "$serverMd5"; ' -- '{}' ';' -exec ln -svfT 'redis-server' '{}' ';' ; rm -r /usr/src/redis; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { print $(NF-1) }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; redis-cli --version; redis-server --version
0.00B 2020-04-17 04:55:48 /bin/sh -c #(nop) ENV REDIS_DOWNLOAD_SHA=f3c7eac42f433326a8d981b50dba0169fdfaf46abb23fcda2f933a7552ee4ed7
0.00B 2020-04-17 04:55:48 /bin/sh -c #(nop) ENV REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-5.0.8.tar.gz
0.00B 2020-04-17 04:55:48 /bin/sh -c #(nop) ENV REDIS_VERSION=5.0.8
4.15MB 2020-04-17 04:54:13 /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends ca-certificates dirmngr 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; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || 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 2020-04-17 04:53:59 /bin/sh -c #(nop) ENV GOSU_VERSION=1.12
328.57KB 2020-04-17 04:53:59 /bin/sh -c groupadd -r -g 999 redis && useradd -r -g redis -u 999 redis
0.00B 2020-04-16 11:22:36 /bin/sh -c #(nop) CMD ["bash"]
69.21MB 2020-04-16 11:22:36 /bin/sh -c #(nop) ADD file:865f9041e12eb341f0a394764ddc11db49cbc8b91d4fb57c6fb1960b68b1bb41 in /

镜像信息

{
    "Id": "sha256:975fe4b9f798b9fbebc9f867934472b6aa0dec3c6cf4e9b61234a32491d50a75",
    "RepoTags": [
        "redis:5.0.8",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/redis:5.0.8"
    ],
    "RepoDigests": [
        "redis@sha256:96bdb5e2984b15e3cf4de74077f650c911cb26ec0981e0772df35a1a5cb19798",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/redis@sha256:de935cb5eb1d96a5b75c871cd408a728b89d100712ae4599eb994bb7a41a9336"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2020-04-16T20:56:54.475227001Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "18.09.7",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "6379/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "GOSU_VERSION=1.12",
            "REDIS_VERSION=5.0.8",
            "REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-5.0.8.tar.gz",
            "REDIS_DOWNLOAD_SHA=f3c7eac42f433326a8d981b50dba0169fdfaf46abb23fcda2f933a7552ee4ed7"
        ],
        "Cmd": [
            "redis-server"
        ],
        "ArgsEscaped": true,
        "Image": "sha256:22237662dfc0fbb69f02618f19445d12b8416e7afdd2c0e6b9f159f2ec6ea0e2",
        "Volumes": {
            "/data": {}
        },
        "WorkingDir": "/data",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 98320517,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/d20ff5d9e54406507770845210422b286d9fd2fca9b4dede35dfd6a73c9c02c5/diff:/var/lib/docker/overlay2/6f4b996c504164a468f6b81bb61fb128cc5585854b4f65299f6736ee1d5665b3/diff:/var/lib/docker/overlay2/bfcdf0c09f9daa7d1c0a8507e396b97351de4b3a6a5fdd81350ceb007eee5c4d/diff:/var/lib/docker/overlay2/74b2ed1df70b1f0ec7e059052b349aa2c817ebec934602fc6bd5ade307085ea0/diff:/var/lib/docker/overlay2/0d6575765670059affa1df7523700e80c295aa50779f731e4faced37c4c4d4d1/diff",
            "MergedDir": "/var/lib/docker/overlay2/a423b43b686f7df115c07aa8837a8a197a3586b26337b1c1f4eb96adfbc29411/merged",
            "UpperDir": "/var/lib/docker/overlay2/a423b43b686f7df115c07aa8837a8a197a3586b26337b1c1f4eb96adfbc29411/diff",
            "WorkDir": "/var/lib/docker/overlay2/a423b43b686f7df115c07aa8837a8a197a3586b26337b1c1f4eb96adfbc29411/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:b60e5c3bcef2f42ec42648b3acf7baf6de1fa780ca16d9180f3b4a3f266fe7bc",
            "sha256:b5a8df342567aa93d568b263b25c1eaf52655f0952e1911742ffb4f7a521e044",
            "sha256:c03c7e9701eb61f1e2232f6d19faa699cd9d346207aaf4f50d84b1e37bbad3e2",
            "sha256:fb4ed1259173f9112996380cb250b049c31a67e65c4373c7a7094d4c41a958b8",
            "sha256:f035d2554cc5cb02707a923c468159f1edc2b55e0ae5ab050dd3301a465fd31f",
            "sha256:f29586e449993c50d5888e812c1c44bb52514e4920603c1673496536c211bbf9"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-30T15:38:34.617448823+08:00"
    }
}

更多版本

docker.io/library/redis:7.0.12

linux/amd64 docker.io129.93MB2024-03-22 14:35
895

docker.io/library/redis:7.0.13

linux/amd64 docker.io130.02MB2024-03-25 17:37
315

docker.io/library/redis:7.0.14

linux/amd64 docker.io129.97MB2024-03-25 18:44
1994

docker.io/library/redis:5.0.8

linux/arm64 docker.io92.82MB2024-07-31 14:18
275

docker.io/library/redis:7.2.4

linux/arm64 docker.io139.16MB2024-08-08 13:46
279

docker.io/library/redis:latest

linux/amd64 docker.io116.96MB2024-09-24 16:50
208

docker.io/library/redis:7.4

linux/amd64 docker.io116.96MB2024-09-25 11:02
135

docker.io/library/redis:6.2.6-alpine

linux/amd64 docker.io32.37MB2024-09-25 15:03
142

docker.io/library/redis:3.2.12

linux/arm64 docker.io71.18MB2024-09-29 18:19
96

docker.io/library/redis:6.2-alpine

linux/amd64 docker.io30.05MB2024-10-07 16:46
102

docker.io/library/redis:5.0.8

linux/amd64 docker.io98.32MB2024-10-30 15:38
95