docker.io/redis:6.2.17 linux/amd64

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

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

`
源镜像 docker.io/redis:6.2.17
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/redis:6.2.17
镜像ID sha256:090fee6c6a0426e5d5d8f066220793bb89f40df181e23769e7f782d198da8e5a
镜像TAG 6.2.17
大小 105.90MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD redis-server
启动入口 docker-entrypoint.sh
工作目录 /data
OS/平台 linux/amd64
浏览量 43 次
贡献者 wh*******4@163.com
镜像创建 2025-01-06T16:14:31Z
同步时间 2025-01-10 11:32
更新时间 2025-01-18 09:34
开放端口
6379/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOSU_VERSION=1.17 REDIS_VERSION=6.2.17 REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-6.2.17.tar.gz REDIS_DOWNLOAD_SHA=f7aab300407aaa005bc1a688e61287111f4ae13ed657ec50ef4ab529893ddc30
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 12.8 扫描引擎: Trivy 扫描时间: 2025-01-10 11:32

低危漏洞:58 中危漏洞:34 高危漏洞:32 严重漏洞:4

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2025-01-07 00:14:31  0.00B 设置默认要执行的命令
CMD ["redis-server"]
                        
# 2025-01-07 00:14:31  0.00B 声明容器运行时监听的端口
EXPOSE map[6379/tcp:{}]
                        
# 2025-01-07 00:14:31  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2025-01-07 00:14:31  661.00B 复制新文件或目录到容器中
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
                        
# 2025-01-07 00:14:31  0.00B 设置工作目录为/data
WORKDIR /data
                        
# 2025-01-07 00:14:31  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/data]
                        
# 2025-01-07 00:14:31  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir /data && chown redis:redis /data # buildkit
                        
# 2025-01-07 00:14:31  26.95MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 		savedAptMark="$(apt-mark showmanual)"; 	apt-get update; 	apt-get install -y --no-install-recommends 		ca-certificates 		wget 				dpkg-dev 		gcc 		libc6-dev 		libssl-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 -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; 		apt-mark auto '.*' > /dev/null; 	[ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; 	find /usr/local -type f -executable -exec ldd '{}' ';' 		| awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' 		| 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 # buildkit
                        
# 2025-01-07 00:14:31  0.00B 设置环境变量 REDIS_DOWNLOAD_SHA
ENV REDIS_DOWNLOAD_SHA=f7aab300407aaa005bc1a688e61287111f4ae13ed657ec50ef4ab529893ddc30
                        
# 2025-01-07 00:14:31  0.00B 设置环境变量 REDIS_DOWNLOAD_URL
ENV REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-6.2.17.tar.gz
                        
# 2025-01-07 00:14:31  0.00B 设置环境变量 REDIS_VERSION
ENV REDIS_VERSION=6.2.17
                        
# 2025-01-07 00:14:31  4.12MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	savedAptMark="$(apt-mark showmanual)"; 	apt-get update; 	apt-get install -y --no-install-recommends ca-certificates gnupg wget; 	rm -rf /var/lib/apt/lists/*; 	arch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; 	case "$arch" in 		'amd64') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-amd64'; sha256='bbc4136d03ab138b1ad66fa4fc051bafc6cc7ffae632b069a53657279a450de3' ;; 		'arm64') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-arm64'; sha256='c3805a85d17f4454c23d7059bcb97e1ec1af272b90126e79ed002342de08389b' ;; 		'armel') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-armel'; sha256='f9969910fa141140438c998cfa02f603bf213b11afd466dcde8fa940e700945d' ;; 		'i386') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-i386'; sha256='087dbb8fe479537e64f9c86fa49ff3b41dee1cbd28739a19aaef83dc8186b1ca' ;; 		'mips64el') url='https://github.com/tianon/gosu/releases/download/1.17/gosu-mips64el'; sha256='87140029d792595e660be0015341dfa1c02d1181459ae40df9f093e471d75b70' ;; 		'ppc64el') 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' ;; 		'armhf') 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; 	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 # buildkit
                        
# 2025-01-07 00:14:31  0.00B 设置环境变量 GOSU_VERSION
ENV GOSU_VERSION=1.17
                        
# 2025-01-07 00:14:31  5.08KB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	apt-get update; 	apt-get install -y --no-install-recommends 		tzdata 	; 	rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2025-01-07 00:14:31  4.30KB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	groupadd -r -g 999 redis; 	useradd -r -g redis -u 999 redis # buildkit
                        
# 2024-12-23 08:00:00  74.82MB 
# debian.sh --arch 'amd64' out/ 'bookworm' '@1734912000'
                        
                    

镜像信息

{
    "Id": "sha256:090fee6c6a0426e5d5d8f066220793bb89f40df181e23769e7f782d198da8e5a",
    "RepoTags": [
        "redis:6.2.17",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/redis:6.2.17"
    ],
    "RepoDigests": [
        "redis@sha256:1fdb0fdda22ac64197a35153642b96b5abcf6d41c217c5a85cd82bbd4c34fcf6",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/redis@sha256:19fba670c5169f77f2c91896be68ef4f561223651fb650f9c0dd1b4e248a10d0"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-01-06T16:14:31Z",
    "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=6.2.17",
            "REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-6.2.17.tar.gz",
            "REDIS_DOWNLOAD_SHA=f7aab300407aaa005bc1a688e61287111f4ae13ed657ec50ef4ab529893ddc30"
        ],
        "Cmd": [
            "redis-server"
        ],
        "Image": "",
        "Volumes": {
            "/data": {}
        },
        "WorkingDir": "/data",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 105897091,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/2e33a7eaa4cc93de5fa5d5be99ef85ab56732e530d90ea7049aa6131f49e28eb/diff:/var/lib/docker/overlay2/760a75c661449360451eacf64aab1eafdba947dc6a547153f63248b59ea8db99/diff:/var/lib/docker/overlay2/b78302cfe496fa555e9dfb99648b74b94c261c59759c22ed677b6db6dd53e4a7/diff:/var/lib/docker/overlay2/fa84985f4157039c648f8f9ff87dc0d963d96652a62091312995d3a65e9cfb74/diff:/var/lib/docker/overlay2/f9b012ef37b7c96282cd14f100831a3bd458ddb57cbc0efa6d038a016633420a/diff:/var/lib/docker/overlay2/976bae6f96517e81f4f5c11c7d34cf16e7998cd062169367474e192a66dfd945/diff:/var/lib/docker/overlay2/d7da656d9414ae961b292fa109d069e923b341eab550c2db09cb0ab256f4ae70/diff",
            "MergedDir": "/var/lib/docker/overlay2/1c080a46fdc3e0f994fa7e5f6c482c53123cb8a6375b115f84f9d36689aeb1c4/merged",
            "UpperDir": "/var/lib/docker/overlay2/1c080a46fdc3e0f994fa7e5f6c482c53123cb8a6375b115f84f9d36689aeb1c4/diff",
            "WorkDir": "/var/lib/docker/overlay2/1c080a46fdc3e0f994fa7e5f6c482c53123cb8a6375b115f84f9d36689aeb1c4/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:8b296f48696071aafb5a6286ca60d441a7e559b192fc7f94bb63ee93dae98f17",
            "sha256:39a16bcadb85b331b2a6883ab37bcab9c31065fbf5b63fe5b4da11a5f5f6c263",
            "sha256:389aaad1d1e18b1667a70a826412ff481de8b3464a6ed9b7bfac7ae9353a8ce6",
            "sha256:ee4a9ef42673defa5a12991cc612dedc52c60fa6f919546d32bef8bdc9fba58e",
            "sha256:996dc525240de41594c073575d165bbf4de9aaa5e4dd1120d24540bb935b041b",
            "sha256:f4635a5ce42836509c9a72f72b9303d9b7c649688c8651b68bafa3d7683b9964",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:5a1b5b0c2ad11a49ae3b554ab758810ad73a8a4fe31e23c00c8f0d455edee435"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-10T11:32:50.021033725+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
1003

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
251

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
366

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
116

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
76

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
137

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
42

docker.io/redis:7.4.2

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

docker.io/redis:6.2.17

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