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

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

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

`
源镜像 docker.io/redis:4.0-alpine
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/redis:4.0-alpine
镜像ID sha256:e3dd0e49bca555d559ca2e97f06a1efa108ebd230fddcb17606723994f18ae3b
镜像TAG 4.0-alpine
大小 20.44MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD redis-server
启动入口 docker-entrypoint.sh
工作目录 /data
OS/平台 linux/amd64
浏览量 153 次
贡献者 ad**n@boychai.xyz
镜像创建 2020-04-24T19:22:38.07087317Z
同步时间 2024-10-15 20:04
更新时间 2025-01-18 05:36
开放端口
6379/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin REDIS_VERSION=4.0.14 REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-4.0.14.tar.gz REDIS_DOWNLOAD_SHA=1e1e18420a86cfb285933123b04a82e1ebda20bfb0a289472745a087587e93a7
镜像安全扫描 查看Trivy扫描报告

系统OS: alpine 3.11.6 扫描引擎: Trivy 扫描时间: 2024-10-27 23:07

低危漏洞:2 中危漏洞:10 高危漏洞:27 严重漏洞:4

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2020-04-25 03:22:38  0.00B 
/bin/sh -c #(nop)  CMD ["redis-server"]
                        
# 2020-04-25 03:22:37  0.00B 
/bin/sh -c #(nop)  EXPOSE 6379
                        
# 2020-04-25 03:22:37  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2020-04-25 03:22:37  377.00B 
/bin/sh -c #(nop) COPY file:c48b97ea65422782310396358f838c38c0747767dd606a88d4c3d0b034a60762 in /usr/local/bin/ 
                        
# 2020-04-25 03:22:37  0.00B 
/bin/sh -c #(nop) WORKDIR /data
                        
# 2020-04-25 03:22:37  0.00B 
/bin/sh -c #(nop)  VOLUME [/data]
                        
# 2020-04-25 03:22:36  0.00B 
/bin/sh -c mkdir /data && chown redis:redis /data
                        
# 2020-04-25 03:22:36  13.46MB 
/bin/sh -c set -eux; 		apk add --no-cache --virtual .build-deps 		coreutils 		gcc 		linux-headers 		make 		musl-dev 		openssl-dev 	; 		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; 		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
                        
# 2020-04-25 03:22:07  0.00B 
/bin/sh -c #(nop)  ENV REDIS_DOWNLOAD_SHA=1e1e18420a86cfb285933123b04a82e1ebda20bfb0a289472745a087587e93a7
                        
# 2020-04-25 03:22:06  0.00B 
/bin/sh -c #(nop)  ENV REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-4.0.14.tar.gz
                        
# 2020-04-25 03:22:06  0.00B 
/bin/sh -c #(nop)  ENV REDIS_VERSION=4.0.14
                        
# 2020-04-25 03:19:43  1.35MB 
/bin/sh -c apk add --no-cache 		'su-exec>=0.2' 		tzdata
                        
# 2020-04-25 03:19:42  4.67KB 
/bin/sh -c addgroup -S -g 1000 redis && adduser -S -G redis -u 999 redis
                        
# 2020-04-24 09:05:03  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/sh"]
                        
# 2020-04-24 09:05:03  5.61MB 
/bin/sh -c #(nop) ADD file:b91adb67b670d3a6ff9463e48b7def903ed516be66fc4282d22c53e41512be49 in / 
                        
                    

镜像信息

{
    "Id": "sha256:e3dd0e49bca555d559ca2e97f06a1efa108ebd230fddcb17606723994f18ae3b",
    "RepoTags": [
        "redis:4.0-alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/redis:4.0-alpine"
    ],
    "RepoDigests": [
        "redis@sha256:aaf7c123077a5e45ab2328b5ef7e201b5720616efac498d55e65a7afbb96ae20",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/redis@sha256:3e99741f293147ff406657dda7644c2b88564b80a498cd00da8f905743449c9f"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2020-04-24T19:22:38.07087317Z",
    "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",
            "REDIS_VERSION=4.0.14",
            "REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-4.0.14.tar.gz",
            "REDIS_DOWNLOAD_SHA=1e1e18420a86cfb285933123b04a82e1ebda20bfb0a289472745a087587e93a7"
        ],
        "Cmd": [
            "redis-server"
        ],
        "ArgsEscaped": true,
        "Image": "sha256:80e177936f2141891bfaacb6fdbab7154c6bfcd071aac67fc29a433a4d2870ac",
        "Volumes": {
            "/data": {}
        },
        "WorkingDir": "/data",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 20435464,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/6b4ec311efd4d1d3720c12969566f87f8e55eb47ffc77471d7cde5cb3e4ec970/diff:/var/lib/docker/overlay2/15dffe659509425114958eda22f0c3dd30f53cf412171c580cddfe5eddb4fd85/diff:/var/lib/docker/overlay2/b3f90512c9392ac21bcffb9371ccac42057d00e56e5b2239ece7cafff66cae6b/diff:/var/lib/docker/overlay2/c430bd2f44ef8e001504cbb20bd8719488c97240450f21060a099a224783cf4c/diff:/var/lib/docker/overlay2/46163e67d47711709e7599b928273e4563704c9c89d9dc5ab0c48cfd571ad1cd/diff",
            "MergedDir": "/var/lib/docker/overlay2/7cfa199a118887f767bdc8c4de5f416abee6a855843b1b88bf282a07ccf983bf/merged",
            "UpperDir": "/var/lib/docker/overlay2/7cfa199a118887f767bdc8c4de5f416abee6a855843b1b88bf282a07ccf983bf/diff",
            "WorkDir": "/var/lib/docker/overlay2/7cfa199a118887f767bdc8c4de5f416abee6a855843b1b88bf282a07ccf983bf/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:3e207b409db364b595ba862cdc12be96dcdad8e36c59a03b7b3b61c946a5741a",
            "sha256:dafc08a3ced41e2f7883c9978480f33a657787441f88173d1916afbcfe01e6ee",
            "sha256:970c18d5ee5eeea42d19a006c173b4a7426882a1ae8096c2946dfff77f1a92d0",
            "sha256:00c124c838688cfb84ea11c391dcddd88886ca6b15d6be60906c7b8cbcb11b04",
            "sha256:ef231a5622425c432a8be4e9e968fcd1bb8c7d4d461d40793a756956258657f7",
            "sha256:c3bed82731062b2bf840dfc7726164ff856630dbba21f01687046e7d6dafa90a"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-10-15T20:03:59.387365567+08:00"
    }
}

更多版本

docker.io/redis:7.0.11

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

docker.io/redis:5.0.14

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

docker.io/redis:6-alpine

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

docker.io/redis:7.2-alpine

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

docker.io/redis:6.2

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

docker.io/redis:5.0.12-alpine

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

docker.io/redis:6-alpine

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

docker.io/redis:7.0.14-alpine

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

docker.io/redis:5.0.14-alpine

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

docker.io/redis:7.2.5-alpine

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

docker.io/redis:7.2.4

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

docker.io/redis:7.2.5

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

docker.io/redis:7.2.4

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

docker.io/redis:6.2.6

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

docker.io/redis:7.0.15-alpine

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

docker.io/redis:6.2.14

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

docker.io/redis/redisinsight:2.54

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

docker.io/redislabs/redisinsight:1.7.0

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

docker.io/redis:7-alpine

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

docker.io/redis:6.2-alpine

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

docker.io/redislabs/redis:7.4.6-66

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

docker.io/redis:6.2.7

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

docker.io/redis:6.2.6

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

docker.io/redis:7.2.3-alpine

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

docker.io/redislabs/redisinsight:2.56

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

docker.io/redis:7.0.8

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

docker.io/redis:7.4.1

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

docker.io/redis:4.0-alpine

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

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

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

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

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

docker.io/redis:6.2-alpine

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

docker.io/redis:6.2.4-alpine

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

docker.io/redis:7.0.0

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

docker.io/redis:6.2.7

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

docker.io/redis:6

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

docker.io/redis/redis-stack:latest

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

docker.io/redis/redis-stack:latest

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

docker.io/redis:7.2.4-alpine

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

docker.io/redislabs/redisinsight:1.9.0

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

docker.io/redis:7.2-bookworm

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

docker.io/redis:7.4.1-alpine

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

docker.io/redis:alpine

linux/amd64 docker.io46.73MB2024-11-23 16:05
138

docker.io/redis:7.2.6

linux/amd64 docker.io116.48MB2024-11-25 10:34
136

docker.io/redis:7.4.1-alpine3.20

linux/arm64 docker.io48.29MB2024-11-26 20:39
103

docker.io/redis:7.0.4

linux/amd64 docker.io116.92MB2024-12-09 22:52
75

docker.io/redis:7.0.10

linux/amd64 docker.io117.09MB2024-12-25 11:39
56

docker.io/redis:7.0.5-alpine

linux/amd64 docker.io29.86MB2024-12-25 17:57
47

docker.io/redis:6.2.17

linux/amd64 docker.io105.90MB2025-01-10 11:32
43

docker.io/redis:7.4.2

linux/amd64 docker.io116.98MB2025-01-15 14:10
42

docker.io/redis:6.2.17

linux/arm64 docker.io128.03MB2025-01-17 11:14
11