docker.io/library/redis:6.2.6-alpine linux/amd64

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

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

源镜像 docker.io/library/redis:6.2.6-alpine
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/redis:6.2.6-alpine
镜像ID sha256:34e1dc356a22aadc8d41f9335ad4b5fdcf9f4c1472df3523846ad2e73d7d6c41
镜像TAG 6.2.6-alpine
大小 32.37MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD redis-server
启动入口 docker-entrypoint.sh
工作目录 /data
OS/平台 linux/amd64
浏览量 142 次
贡献者
镜像创建 2022-04-05T10:44:49.173940474Z
同步时间 2024-09-25 15:03
更新时间 2024-11-20 00:45
开放端口
6379/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin REDIS_VERSION=6.2.6 REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-6.2.6.tar.gz REDIS_DOWNLOAD_SHA=5b2b8b7a50111ef395bf1c1d5be11e6e167ac018125055daa8b5c2317ae131ab
镜像安全扫描 查看Trivy扫描报告

系统OS: alpine 3.15.4 扫描引擎: Trivy 扫描时间: 2024-10-27 19:29

低危漏洞:0 中危漏洞:14 高危漏洞:8 严重漏洞:1

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2022-04-05 18:44:49 /bin/sh -c #(nop) CMD ["redis-server"]
0.00B 2022-04-05 18:44:49 /bin/sh -c #(nop) EXPOSE 6379
0.00B 2022-04-05 18:44:48 /bin/sh -c #(nop) ENTRYPOINT ["docker-entrypoint.sh"]
377.00B 2022-04-05 18:44:48 /bin/sh -c #(nop) COPY file:c48b97ea65422782310396358f838c38c0747767dd606a88d4c3d0b034a60762 in /usr/local/bin/
0.00B 2022-04-05 18:44:48 /bin/sh -c #(nop) WORKDIR /data
0.00B 2022-04-05 18:44:48 /bin/sh -c #(nop) VOLUME [/data]
0.00B 2022-04-05 18:44:48 /bin/sh -c mkdir /data && chown redis:redis /data
25.45MB 2022-04-05 18:44:48 /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps coreutils dpkg-dev dpkg gcc linux-headers make musl-dev openssl-dev wget ; 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 -E '^ *createBoolConfig[(]"protected-mode",.*, *1 *,.*[)],$' /usr/src/redis/src/config.c; sed -ri 's!^( *createBoolConfig[(]"protected-mode",.*, *)1( *,.*[)],)$!\10\2!' /usr/src/redis/src/config.c; grep -E '^ *createBoolConfig[(]"protected-mode",.*, *0 *,.*[)],$' /usr/src/redis/src/config.c; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; extraJemallocConfigureFlags="--build=$gnuArch"; dpkgArch="$(dpkg --print-architecture)"; case "${dpkgArch##*-}" in amd64 | i386 | x32) extraJemallocConfigureFlags="$extraJemallocConfigureFlags --with-lg-page=12" ;; *) extraJemallocConfigureFlags="$extraJemallocConfigureFlags --with-lg-page=16" ;; esac; extraJemallocConfigureFlags="$extraJemallocConfigureFlags --with-lg-hugepage=21"; grep -F 'cd jemalloc && ./configure ' /usr/src/redis/deps/Makefile; sed -ri 's!cd jemalloc && ./configure !&'"$extraJemallocConfigureFlags"' !' /usr/src/redis/deps/Makefile; grep -F "cd jemalloc && ./configure $extraJemallocConfigureFlags " /usr/src/redis/deps/Makefile; export BUILD_TLS=yes; 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; runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )"; apk add --no-network --virtual .redis-rundeps $runDeps; apk del --no-network .build-deps; redis-cli --version; redis-server --version
0.00B 2022-04-05 18:43:51 /bin/sh -c #(nop) ENV REDIS_DOWNLOAD_SHA=5b2b8b7a50111ef395bf1c1d5be11e6e167ac018125055daa8b5c2317ae131ab
0.00B 2022-04-05 18:43:51 /bin/sh -c #(nop) ENV REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-6.2.6.tar.gz
0.00B 2022-04-05 18:43:51 /bin/sh -c #(nop) ENV REDIS_VERSION=6.2.6
1.34MB 2022-04-05 18:42:28 /bin/sh -c apk add --no-cache 'su-exec>=0.2' tzdata
4.70KB 2022-04-05 18:42:26 /bin/sh -c addgroup -S -g 1000 redis && adduser -S -G redis -u 999 redis
0.00B 2022-04-05 08:19:59 /bin/sh -c #(nop) CMD ["/bin/sh"]
5.57MB 2022-04-05 08:19:59 /bin/sh -c #(nop) ADD file:5d673d25da3a14ce1f6cf66e4c7fd4f4b85a3759a9d93efb3fd9ff852b5b56e4 in /

镜像信息

{
    "Id": "sha256:34e1dc356a22aadc8d41f9335ad4b5fdcf9f4c1472df3523846ad2e73d7d6c41",
    "RepoTags": [
        "redis:6.2.6-alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/redis:6.2.6-alpine"
    ],
    "RepoDigests": [
        "redis@sha256:132337b9d7744ffee4fae83f51de53c3530935ad3ba528b7110f2d805f55cbf5",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/redis@sha256:6c42cce2871e8dc5fb3e843ed5c4e7939d312faf5e53ff0ff4ca955a7e0b2b39"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2022-04-05T10:44:49.173940474Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.12",
    "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",
            "REDIS_VERSION=6.2.6",
            "REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-6.2.6.tar.gz",
            "REDIS_DOWNLOAD_SHA=5b2b8b7a50111ef395bf1c1d5be11e6e167ac018125055daa8b5c2317ae131ab"
        ],
        "Cmd": [
            "redis-server"
        ],
        "Image": "sha256:3ff26873f6fd3739da807c7fa45dd525fb2ace4cfda4cef9d8c13ac91df56294",
        "Volumes": {
            "/data": {}
        },
        "WorkingDir": "/data",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 32373327,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/30e9ab8cfe424605472b60b051a808636cff84f64c173d0ddfc66a6c664683e3/diff:/var/lib/docker/overlay2/3690d3db035ec479763d77cd47a2fe260a17decb0d195be4a97e1a036db97073/diff:/var/lib/docker/overlay2/5f8535520651574419b48a6b121f4e5cd042711328f7babae898385390e2688e/diff:/var/lib/docker/overlay2/62340c7142053294975b1e1cff014445c4e03971ed164f09476cffaaad8c24cb/diff:/var/lib/docker/overlay2/abcc5a04968d9a34f1c54d0b47401405bed0b2d7c360369f1d97a0875c579984/diff",
            "MergedDir": "/var/lib/docker/overlay2/594fa1c8c306a643ec37f43aceb6a09a45a3c3d479a0d3635a350e8650e61f63/merged",
            "UpperDir": "/var/lib/docker/overlay2/594fa1c8c306a643ec37f43aceb6a09a45a3c3d479a0d3635a350e8650e61f63/diff",
            "WorkDir": "/var/lib/docker/overlay2/594fa1c8c306a643ec37f43aceb6a09a45a3c3d479a0d3635a350e8650e61f63/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:4fc242d58285699eca05db3cc7c7122a2b8e014d9481f323bd9277baacfa0628",
            "sha256:dc57052270aadf8046e40eb300d7aa37c79c0efa39e330c88b812d478d627a6f",
            "sha256:af824220a3a6ea38f5a5fc3a0b7eea6ff4746686f0ade79ca60ce3354f5c6c78",
            "sha256:6b1c0aa3a559ac3687a49c0fe91e311e476d6aefb6402a47bbb20535a35b6708",
            "sha256:be77de932454e16362999c64930e473cb71078c2ab2ac81457c5835022ec7ad0",
            "sha256:bede2ea174d817b0b214df0e67171253e4ee6da711ecda1d1d4c6f87bffcab16"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-09-25T15:03:24.156797154+08:00"
    }
}

更多版本

docker.io/library/redis:7.0.12

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

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
207

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
141

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