docker.io/library/redis:6.2.12-alpine3.17 linux/amd64

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

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

源镜像 docker.io/library/redis:6.2.12-alpine3.17
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/redis:6.2.12-alpine3.17
镜像ID sha256:a9a47a706682d445577bb5da7328f0faaa0863a5742a315c829faa461dfc23ae
镜像TAG 6.2.12-alpine3.17
大小 27.11MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD redis-server
启动入口 docker-entrypoint.sh
工作目录 /data
OS/平台 linux/amd64
浏览量 32 次
贡献者 jd****3@163.com
镜像创建 2023-04-17T22:53:25.696074726Z
同步时间 2025-01-08 10:41
更新时间 2025-01-18 10:54
开放端口
6379/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin REDIS_VERSION=6.2.12 REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-6.2.12.tar.gz REDIS_DOWNLOAD_SHA=75352eef41e97e84bfa94292cbac79e5add5345fc79787df5cbdff703353fb1b
镜像安全扫描 查看Trivy扫描报告

系统OS: alpine 3.17.3 扫描引擎: Trivy 扫描时间: 2025-01-08 10:43

低危漏洞:4 中危漏洞:38 高危漏洞:2 严重漏洞:0

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

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

Containerd拉取命令

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

Shell快速替换命令

sed -i 's#library/redis:6.2.12-alpine3.17#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/redis:6.2.12-alpine3.17#' 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.12-alpine3.17 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/redis:6.2.12-alpine3.17  docker.io/library/redis:6.2.12-alpine3.17'

Ansible快速分发-Containerd

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

镜像构建历史


# 2023-04-18 06:53:25  0.00B 
/bin/sh -c #(nop)  CMD ["redis-server"]
                        
# 2023-04-18 06:53:25  0.00B 
/bin/sh -c #(nop)  EXPOSE 6379
                        
# 2023-04-18 06:53:25  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2023-04-18 06:53:25  664.00B 
/bin/sh -c #(nop) COPY file:a9e7249f657e2eec627bb4be492ad18aae3e5e1f0e47d22644eaf1ef2138c0ce in /usr/local/bin/ 
                        
# 2023-04-18 06:53:25  0.00B 
/bin/sh -c #(nop) WORKDIR /data
                        
# 2023-04-18 06:53:25  0.00B 
/bin/sh -c #(nop)  VOLUME [/data]
                        
# 2023-04-18 06:53:25  0.00B 
/bin/sh -c mkdir /data && chown redis:redis /data
                        
# 2023-04-18 06:53:24  18.89MB 
/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
                        
# 2023-04-18 06:52:49  0.00B 
/bin/sh -c #(nop)  ENV REDIS_DOWNLOAD_SHA=75352eef41e97e84bfa94292cbac79e5add5345fc79787df5cbdff703353fb1b
                        
# 2023-04-18 06:52:49  0.00B 
/bin/sh -c #(nop)  ENV REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-6.2.12.tar.gz
                        
# 2023-04-18 06:52:48  0.00B 
/bin/sh -c #(nop)  ENV REDIS_VERSION=6.2.12
                        
# 2023-03-30 10:03:49  1.17MB 
/bin/sh -c apk add --no-cache 		'su-exec>=0.2' 		tzdata
                        
# 2023-03-30 10:03:48  4.70KB 
/bin/sh -c addgroup -S -g 1000 redis && adduser -S -G redis -u 999 redis
                        
# 2023-03-30 02:19:24  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/sh"]
                        
# 2023-03-30 02:19:24  7.05MB 
/bin/sh -c #(nop) ADD file:9a4f77dfaba7fd2aa78186e4ef0e7486ad55101cefc1fabbc1b385601bb38920 in / 
                        
                    

镜像信息

{
    "Id": "sha256:a9a47a706682d445577bb5da7328f0faaa0863a5742a315c829faa461dfc23ae",
    "RepoTags": [
        "redis:6.2.12-alpine3.17",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/redis:6.2.12-alpine3.17"
    ],
    "RepoDigests": [
        "redis@sha256:0bb58d0fec5900dd82002b53b9d2dc0dfbd1831e7d2570cb4e66ff1a9464b134",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/redis@sha256:046f3913a13b517da79657f36e103015db8c0fac1bc5af580d5e8ef5e2273d04"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2023-04-17T22:53:25.696074726Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.23",
    "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.12",
            "REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-6.2.12.tar.gz",
            "REDIS_DOWNLOAD_SHA=75352eef41e97e84bfa94292cbac79e5add5345fc79787df5cbdff703353fb1b"
        ],
        "Cmd": [
            "redis-server"
        ],
        "Image": "sha256:1c04fbea28724c34d523b62828865980275eb9d813a4b1d20a781d1cf0e783ef",
        "Volumes": {
            "/data": {}
        },
        "WorkingDir": "/data",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 27108846,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/9eff2c437efdba649b4c0289ca537909d2b9229b68e2d9fa7266669702369c09/diff:/var/lib/docker/overlay2/27147ded01846845f74a4cec4bac0b54839bac8238699429be652e77d7367938/diff:/var/lib/docker/overlay2/8f3f9af420018475acbe5d4890d1abd48c76417ae4d0cd4e8f0be9669fd0b979/diff:/var/lib/docker/overlay2/33fe75e594d045b291f42c5cd0ddb379473c1ae4d7d9c292996f9de6c3e85402/diff:/var/lib/docker/overlay2/f2652b4873c0a7b3b77e7f06fb252ade6a1faa73f27e33befe152f7e9b6e7bce/diff",
            "MergedDir": "/var/lib/docker/overlay2/17233cd3c87c6cfa4743f881c573d975c3b1fbd199340129c41ecf151818c565/merged",
            "UpperDir": "/var/lib/docker/overlay2/17233cd3c87c6cfa4743f881c573d975c3b1fbd199340129c41ecf151818c565/diff",
            "WorkDir": "/var/lib/docker/overlay2/17233cd3c87c6cfa4743f881c573d975c3b1fbd199340129c41ecf151818c565/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:f1417ff83b319fbdae6dd9cd6d8c9c88002dcd75ecf6ec201c8c6894681cf2b5",
            "sha256:a2138152cd2d359aa6cd553342bd5545b44c0228135cd38315fae9682c089e9f",
            "sha256:f566a03a38b980d5557b4ecd068a4c4562ae7ac98ce4e5bb6ff89600fb16c556",
            "sha256:e6822b82cab7e04ee1323e6d68a078ae5e8838513f1a669b539469ee4a4e3912",
            "sha256:12bbafdaefbbcd5b99d94f882c7912dfc9c7ccdead075d5577e77b683c9369b5",
            "sha256:254abfda949018ea397af542fd1aa91529c4c67fa3dc13fcd7b4b599f7e72cb2"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-08T10:41:44.030427519+08:00"
    }
}

更多版本

docker.io/library/redis:7.0.12

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

docker.io/library/redis:7.0.13

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

docker.io/library/redis:7.0.14

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

docker.io/library/redis:5.0.8

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

docker.io/library/redis:7.2.4

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

docker.io/library/redis:latest

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

docker.io/library/redis:7.4

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

docker.io/library/redis:6.2.6-alpine

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

docker.io/library/redis:3.2.12

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

docker.io/library/redis:6.2-alpine

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

docker.io/library/redis:5.0.8

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

docker.io/library/redis:7.2.4-alpine

linux/amd64 docker.io46.07MB2024-12-13 17:31
59

docker.io/library/redis:7.2.6

linux/amd64 docker.io116.52MB2024-12-31 10:32
49

docker.io/library/redis:7.0.12

linux/arm64 docker.io149.39MB2025-01-07 17:06
39

docker.io/library/redis:6.2.12-alpine3.17

linux/amd64 docker.io27.11MB2025-01-08 10:41
31

docker.io/library/redis:7.0.15-alpine

linux/amd64 docker.io32.92MB2025-01-17 17:30
13