docker.io/redis:7-alpine linux/amd64

docker.io/redis:7-alpine - 国内下载镜像源 浏览次数:127 安全受验证的发布者-Redis
🔥 `

Redis是一个基于键值对存储的NoSQL数据库,它提供了高性能、可扩展性和持久化数据存储功能,可以用于缓存、消息队列、Leader Board等场景。

`
源镜像 docker.io/redis:7-alpine
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/redis:7-alpine
镜像ID sha256:da7b3f96549f51221ac02ad16251b3d0df33bbc4490971b48348fc87eadc4a77
镜像TAG 7-alpine
大小 41.21MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD redis-server
启动入口 docker-entrypoint.sh
工作目录 /data
OS/平台 linux/amd64
浏览量 127 次
贡献者
镜像创建 2024-07-29T07:59:06Z
同步时间 2024-09-05 10:48
更新时间 2024-11-20 15:14
开放端口
6379/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOSU_VERSION=1.17 REDIS_VERSION=7.4.0 REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-7.4.0.tar.gz REDIS_DOWNLOAD_SHA=57b47c2c6682636d697dbf5d66d8d495b4e653afc9cd32b7adf9da3e433b8aaf

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-07-29 15:59:06 CMD ["redis-server"]
0.00B 2024-07-29 15:59:06 EXPOSE map[6379/tcp:{}]
0.00B 2024-07-29 15:59:06 ENTRYPOINT ["docker-entrypoint.sh"]
661.00B 2024-07-29 15:59:06 COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
0.00B 2024-07-29 15:59:06 WORKDIR /data
0.00B 2024-07-29 15:59:06 VOLUME [/data]
0.00B 2024-07-29 15:59:06 RUN /bin/sh -c mkdir /data && chown redis:redis /data # buildkit
30.49MB 2024-07-29 15:59:06 RUN /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 # buildkit
0.00B 2024-07-29 15:59:06 ENV REDIS_DOWNLOAD_SHA=57b47c2c6682636d697dbf5d66d8d495b4e653afc9cd32b7adf9da3e433b8aaf
0.00B 2024-07-29 15:59:06 ENV REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-7.4.0.tar.gz
0.00B 2024-07-29 15:59:06 ENV REDIS_VERSION=7.4.0
2.41MB 2024-07-29 15:59:06 RUN /bin/sh -c set -eux; apk add --no-cache --virtual .gosu-fetch gnupg; arch="$(apk --print-arch)"; case "$arch" in 'x86_64') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-amd64'; sha256='bbc4136d03ab138b1ad66fa4fc051bafc6cc7ffae632b069a53657279a450de3' ;; 'aarch64') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-arm64'; sha256='c3805a85d17f4454c23d7059bcb97e1ec1af272b90126e79ed002342de08389b' ;; 'armhf') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-armhf'; sha256='e5866286277ff2a2159fb9196fea13e0a59d3f1091ea46ddb985160b94b6841b' ;; 'x86') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-i386'; sha256='087dbb8fe479537e64f9c86fa49ff3b41dee1cbd28739a19aaef83dc8186b1ca' ;; 'ppc64le') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-ppc64el'; sha256='1891acdcfa70046818ab6ed3c52b9d42fa10fbb7b340eb429c8c7849691dbd76' ;; 'riscv64') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-riscv64'; sha256='38a6444b57adce135c42d5a3689f616fc7803ddc7a07ff6f946f2ebc67a26ba6' ;; 's390x') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-s390x'; sha256='69873bab588192f760547ca1f75b27cfcf106e9f7403fee6fd0600bc914979d0' ;; 'armv7') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-armhf'; sha256='e5866286277ff2a2159fb9196fea13e0a59d3f1091ea46ddb985160b94b6841b' ;; *) echo >&2 "error: unsupported gosu architecture: '$arch'"; exit 1 ;; esac; wget -O /usr/local/bin/gosu.asc "$url.asc"; wget -O /usr/local/bin/gosu "$url"; echo "$sha256 */usr/local/bin/gosu" | sha256sum -c -; 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; apk del --no-network .gosu-fetch; chmod +x /usr/local/bin/gosu; gosu --version; gosu nobody true # buildkit
0.00B 2024-07-29 15:59:06 ENV GOSU_VERSION=1.17
514.78KB 2024-07-29 15:59:06 RUN /bin/sh -c set -eux; apk add --no-cache tzdata ; # buildkit
3.06KB 2024-07-29 15:59:06 RUN /bin/sh -c set -eux; addgroup -S -g 1000 redis; adduser -S -G redis -u 999 redis # buildkit
0.00B 2024-07-23 06:26:43 /bin/sh -c #(nop) CMD ["/bin/sh"]
7.80MB 2024-07-23 06:26:43 /bin/sh -c #(nop) ADD file:99093095d62d0421541d882f9ceeddb2981fe701ec0aa9d2c08480712d5fed21 in /

镜像信息

{
    "Id": "sha256:da7b3f96549f51221ac02ad16251b3d0df33bbc4490971b48348fc87eadc4a77",
    "RepoTags": [
        "redis:7-alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/redis:7-alpine"
    ],
    "RepoDigests": [
        "redis@sha256:eaea8264f74a95ea9a0767c794da50788cbd9cf5223951674d491fa1b3f4f2d2",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/redis@sha256:66b4a646d639fd149f15b32aa0ae36b639393b5ba94bb8badbda6524cb4454b0"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-07-29T07:59:06Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "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.17",
            "REDIS_VERSION=7.4.0",
            "REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-7.4.0.tar.gz",
            "REDIS_DOWNLOAD_SHA=57b47c2c6682636d697dbf5d66d8d495b4e653afc9cd32b7adf9da3e433b8aaf"
        ],
        "Cmd": [
            "redis-server"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/data": {}
        },
        "WorkingDir": "/data",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 41213744,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/1d05fe090e161df6caac81bc6a223740ac6dcc13c7b045ecb33689cb07e504b1/diff:/var/lib/docker/overlay2/b477de2de1ed8657f54de6bd4b19f9b00d3b6ff922e563652c8f1ecf6320b939/diff:/var/lib/docker/overlay2/299ded721ccdcc7a8a5481d9e44fe567beb36bca83082c2b42a602ea5f09a74f/diff:/var/lib/docker/overlay2/7f45a7e91bd1beb33aaeab6fd5f5f87695ccb1b2c0d9e03f4dcaab02a80d67eb/diff:/var/lib/docker/overlay2/a8f493ff4af06dc7a586f589ed91a388985477da6aa4dc0917a8eb9ba70f9c71/diff:/var/lib/docker/overlay2/17863702ef310f59a4e9d1d52bf7a67a63da780ba0834785d00e93e430814121/diff:/var/lib/docker/overlay2/b432477cd1cfc4da8de6bb2978a146d43084f40cc2835da168b5343dbae9540a/diff",
            "MergedDir": "/var/lib/docker/overlay2/155538f05b041badf0587f9b9fbef086432895da0af9f9a65ea0c0f8ae230e02/merged",
            "UpperDir": "/var/lib/docker/overlay2/155538f05b041badf0587f9b9fbef086432895da0af9f9a65ea0c0f8ae230e02/diff",
            "WorkDir": "/var/lib/docker/overlay2/155538f05b041badf0587f9b9fbef086432895da0af9f9a65ea0c0f8ae230e02/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:78561cef0761903dd2f7d09856150a6d4fb48967a8f113f3e33d79effbf59a07",
            "sha256:95981141895dcbbe57627c872fe8072e84d2ce959a9c1050334fc7981a2d91c6",
            "sha256:f5ec9f3e0b50669e2c374299797449a8175e99977ed34cd0f0765e5bea17d491",
            "sha256:042ee2765911d0351446e8f8de0b5a734d7c87041a162534fd1ca9e7e2bf3259",
            "sha256:b88ed57dcf6aadd8106141398ff2bbba7eaaf856bcf85683eed73fb9acd2c8fb",
            "sha256:d61d530184983d784dcc0653ce8df7b2eb92c1b27973ad45376dfc414e1352af",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:c4376a14df5a532e27ceae4b5fdef444bcfc01d6938a67df5699e6cc3cd906ee"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-09-05T10:48:15.236439944+08:00"
    }
}

更多版本

docker.io/redis:7.0.11

linux/amd64 docker.io129.92MB2024-06-12 13:28
712

docker.io/redis:5.0.14

linux/amd64 docker.io109.76MB2024-06-12 13:29
454

docker.io/redis:6-alpine

linux/amd64 docker.io32.38MB2024-06-19 17:31
719

docker.io/redis:7.2-alpine

linux/amd64 docker.io40.72MB2024-06-23 16:32
379

docker.io/redis:6.2

linux/amd64 docker.io105.91MB2024-07-02 00:26
429

docker.io/redis:5.0.12-alpine

linux/amd64 docker.io29.33MB2024-07-03 10:44
212

docker.io/redis:6-alpine

linux/arm64 docker.io31.10MB2024-07-08 15:05
669

docker.io/redis:7.0.14-alpine

linux/amd64 docker.io33.22MB2024-07-09 14:16
409

docker.io/redis:5.0.14-alpine

linux/amd64 docker.io22.89MB2024-07-11 09:55
298

docker.io/redis:7.2.5-alpine

linux/amd64 docker.io40.72MB2024-07-19 14:04
426

docker.io/redis:7.2.4

linux/arm64 docker.io139.16MB2024-07-23 12:06
573

docker.io/redis:7.2.5

linux/amd64 docker.io116.43MB2024-07-24 08:40
874

docker.io/redis:7.2.4

linux/amd64 docker.io116.50MB2024-08-06 15:59
394

docker.io/redis:6.2.6

linux/amd64 docker.io112.62MB2024-08-08 11:56
649

docker.io/redis:7.0.15-alpine

linux/amd64 docker.io32.94MB2024-08-09 15:06
236

docker.io/redis:6.2.14

linux/amd64 docker.io105.84MB2024-08-16 15:41
223

docker.io/redis/redisinsight:2.54

linux/amd64 docker.io250.19MB2024-08-28 11:25
169

docker.io/redislabs/redisinsight:1.7.0

linux/amd64 docker.io1.24GB2024-09-03 16:20
203

docker.io/redis:7-alpine

linux/amd64 docker.io41.21MB2024-09-05 10:48
126

docker.io/redis:6.2-alpine

linux/amd64 docker.io30.07MB2024-09-06 14:49
286

docker.io/redislabs/redis:7.4.6-66

linux/amd64 docker.io1.34GB2024-09-13 14:58
307

docker.io/redis:6.2.7

linux/amd64 docker.io112.76MB2024-09-13 17:38
261

docker.io/redis:6.2.6

linux/arm64 docker.io107.01MB2024-09-26 11:19
136

docker.io/redis:7.2.3-alpine

linux/amd64 docker.io41.00MB2024-09-26 14:00
127

docker.io/redislabs/redisinsight:2.56

linux/amd64 docker.io250.38MB2024-09-29 18:17
143

docker.io/redis:7.0.8

linux/amd64 docker.io117.05MB2024-10-02 13:48
115

docker.io/redis:7.4.1

linux/amd64 docker.io116.98MB2024-10-09 10:41
816

docker.io/redis:4.0-alpine

linux/amd64 docker.io20.44MB2024-10-15 20:04
86

docker.io/redis/redis-stack-server:7.4.0-v0

linux/amd64 docker.io460.48MB2024-10-17 15:41
78

docker.io/redis/redis-stack-server:latest

linux/amd64 docker.io462.66MB2024-10-17 18:18
117

docker.io/redis:6.2-alpine

linux/arm64 docker.io31.08MB2024-10-19 23:04
111

docker.io/redis:6.2.4-alpine

linux/amd64 docker.io32.30MB2024-10-21 17:33
87

docker.io/redis:7.0.0

linux/amd64 docker.io116.79MB2024-10-30 10:45
112

docker.io/redis:6.2.7

linux/arm64 docker.io107.03MB2024-11-01 11:09
79

docker.io/redis:6

linux/amd64 docker.io105.86MB2024-11-07 08:52
48

docker.io/redis/redis-stack:latest

linux/amd64 docker.io782.41MB2024-11-08 16:56
39

docker.io/redis/redis-stack:latest

linux/arm64 docker.io721.96MB2024-11-08 16:59
34

docker.io/redis:7.2.4-alpine

linux/amd64 docker.io46.07MB2024-11-08 18:48
30

docker.io/redislabs/redisinsight:1.9.0

linux/amd64 docker.io1.26GB2024-11-13 10:12
25

docker.io/redis:7.2-bookworm

linux/amd64 docker.io116.48MB2024-11-14 17:25
27

docker.io/redis:7.4.1-alpine

linux/amd64 docker.io46.73MB2024-11-15 17:16
38