docker.io/library/redis:7.0.12 linux/arm64

docker.io/library/redis:7.0.12 - 国内下载镜像源 浏览次数:39 安全受验证的发布者-Docker 温馨提示: 这是一个 linux/arm64 系统架构镜像

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

源镜像 docker.io/library/redis:7.0.12
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/redis:7.0.12-linuxarm64
镜像ID sha256:1c10304795d1876e2ed3ee2f583fea89930bb61abe661638555b8d8611c85d17
镜像TAG 7.0.12-linuxarm64
大小 149.39MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD redis-server
启动入口 docker-entrypoint.sh
工作目录 /data
OS/平台 linux/arm64
浏览量 39 次
贡献者
镜像创建 2023-08-16T09:45:17.156332322Z
同步时间 2025-01-07 17:06
更新时间 2025-01-17 22:14
开放端口
6379/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOSU_VERSION=1.16 REDIS_VERSION=7.0.12 REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-7.0.12.tar.gz REDIS_DOWNLOAD_SHA=9dd83d5b278bb2bf0e39bfeb75c3e8170024edbaf11ba13b7037b2945cf48ab7
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 12.1 扫描引擎: Trivy 扫描时间: 2025-01-07 17:07

低危漏洞:192 中危漏洞:2080 高危漏洞:540 严重漏洞:10

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2023-08-16 17:45:17  0.00B 
/bin/sh -c #(nop)  CMD ["redis-server"]
                        
# 2023-08-16 17:45:17  0.00B 
/bin/sh -c #(nop)  EXPOSE 6379
                        
# 2023-08-16 17:45:16  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2023-08-16 17:45:16  661.00B 
/bin/sh -c #(nop) COPY file:e873a0e3c13001b5e1c63f9dbe60cc65722af522671787f68b8e8cbcae7d02ac in /usr/local/bin/ 
                        
# 2023-08-16 17:45:16  0.00B 
/bin/sh -c #(nop) WORKDIR /data
                        
# 2023-08-16 17:45:16  0.00B 
/bin/sh -c #(nop)  VOLUME [/data]
                        
# 2023-08-16 17:45:16  0.00B 
/bin/sh -c mkdir /data && chown redis:redis /data
                        
# 2023-08-16 17:45:16  48.11MB 
/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); print 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
                        
# 2023-08-16 17:44:38  0.00B 
/bin/sh -c #(nop)  ENV REDIS_DOWNLOAD_SHA=9dd83d5b278bb2bf0e39bfeb75c3e8170024edbaf11ba13b7037b2945cf48ab7
                        
# 2023-08-16 17:44:38  0.00B 
/bin/sh -c #(nop)  ENV REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-7.0.12.tar.gz
                        
# 2023-08-16 17:44:38  0.00B 
/bin/sh -c #(nop)  ENV REDIS_VERSION=7.0.12
                        
# 2023-08-16 17:43:50  4.16MB 
/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/*; 	dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; 	wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; 	wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; 	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
                        
# 2023-08-16 17:43:39  0.00B 
/bin/sh -c #(nop)  ENV GOSU_VERSION=1.16
                        
# 2023-08-16 17:43:39  4.30KB 
/bin/sh -c groupadd -r -g 999 redis && useradd -r -g redis -u 999 redis
                        
# 2023-08-16 07:39:57  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2023-08-16 07:39:57  97.10MB 
/bin/sh -c #(nop) ADD file:bc58956fa3d1aff2efb0264655d039fedfff28dc4ff19a65a235e82754ee1cfa in / 
                        
                    

镜像信息

{
    "Id": "sha256:1c10304795d1876e2ed3ee2f583fea89930bb61abe661638555b8d8611c85d17",
    "RepoTags": [
        "redis:7.0.12",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/redis:7.0.12-linuxarm64"
    ],
    "RepoDigests": [
        "redis@sha256:a030024d2b65447fba04de1e3b440226d78dfe6e4fbc8ab0ca9a44ca6eed0acd",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/redis@sha256:5d4497cd48a2df46ebbdf6aeb5592b0afa6db279d994b40516404e19376fcdb8"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2023-08-16T09:45:17.156332322Z",
    "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",
            "GOSU_VERSION=1.16",
            "REDIS_VERSION=7.0.12",
            "REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-7.0.12.tar.gz",
            "REDIS_DOWNLOAD_SHA=9dd83d5b278bb2bf0e39bfeb75c3e8170024edbaf11ba13b7037b2945cf48ab7"
        ],
        "Cmd": [
            "redis-server"
        ],
        "Image": "sha256:cd3a59833251c0c84a1ca7e45fe57e9831fd2656ef03a3aa63c01c344dae270c",
        "Volumes": {
            "/data": {}
        },
        "WorkingDir": "/data",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "arm64",
    "Variant": "v8",
    "Os": "linux",
    "Size": 149386925,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/c75085778353138f7057ec65063576e15cb26f708628776bad492134937c4781/diff:/var/lib/docker/overlay2/903057d4c589a435196d991a15f6ccbf9a43708165f182faf0d157ddcf17637f/diff:/var/lib/docker/overlay2/2897daa61eb31fe001d80f1838446979b524f2c304f0a1772667fedb129cfab5/diff:/var/lib/docker/overlay2/9d3d41d993a897d0d5f5b985b4da11b17063a83ab6fcb70b605cbca40ee8f600/diff:/var/lib/docker/overlay2/b5f4b76aaef71df047f3942a1d164d0495a469086930c26b9b985a58dfe4174b/diff",
            "MergedDir": "/var/lib/docker/overlay2/76d37d5a60b4d6357cfffc526bc58fd8288bef5187861c0f702d1ce5eb01f32e/merged",
            "UpperDir": "/var/lib/docker/overlay2/76d37d5a60b4d6357cfffc526bc58fd8288bef5187861c0f702d1ce5eb01f32e/diff",
            "WorkDir": "/var/lib/docker/overlay2/76d37d5a60b4d6357cfffc526bc58fd8288bef5187861c0f702d1ce5eb01f32e/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:1c3daa06574284614db07a23682ab6d1c344f09f8093ee10e5de4152a51677a1",
            "sha256:ef44eca2dd00b68c0cd99595d296a84f848b9b99ef40679b6fa651ac5869189a",
            "sha256:64a25830d0fbc76d1cdf094bfae887eacf22532cd32a90f991f668287624a973",
            "sha256:50fa005aafa9250d8f7bc6ec4b74f82fa150dbda052208acf8ef1b0f79f4045d",
            "sha256:891cf046e45ac902fb51c25c1372125fc28ee0189fd1b024e153d9b460108728",
            "sha256:b3b8d0e72b752ac552fbea1ce149c5f2b28f9da2d54c8c7336b8c127e860ea32"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-07T17:06:50.397820932+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
348

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
38

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