docker.io/valkey/valkey:8.0.2 linux/amd64

docker.io/valkey/valkey:8.0.2 - 国内下载镜像源 浏览次数:7

docker.io/valkey/valkey

该镜像是一个名为 Valkey 的开源项目,提供了一个安全的密钥管理系统,用于管理和存储敏感信息。该镜像包含 Valkey 的所有必要组件,允许你轻松地在 Docker 容器中部署和运行 Valkey。

Valkey 提供以下功能:

  • 密钥生成和存储
  • 密钥访问控制
  • 密钥轮换
  • 密钥审计

该镜像可以用来:

  • 保护应用程序中的敏感信息
  • 管理和控制对密钥的访问
  • 简化密钥管理流程

更多关于 Valkey 的信息,请访问项目网站:https://valkey.io/

源镜像 docker.io/valkey/valkey:8.0.2
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/valkey/valkey:8.0.2
镜像ID sha256:2bb194c049e651350ddbd3b9e87f8cc04fb9f1f53f785fef0b58a73a12c0c894
镜像TAG 8.0.2
大小 137.73MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD valkey-server
启动入口 docker-entrypoint.sh
工作目录 /data
OS/平台 linux/amd64
浏览量 7 次
贡献者
镜像创建 2025-03-31T23:21:40.678950027Z
同步时间 2025-04-02 16:48
更新时间 2025-04-03 00:24
开放端口
6379/tcp
目录挂载
/data
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin VALKEY_VERSION=8.0.2 VALKEY_DOWNLOAD_URL=https://github.com/valkey-io/valkey/archive/refs/tags/8.0.2.tar.gz VALKEY_DOWNLOAD_SHA=e052c45b3cbe512e24fdfdc3fd337f9f5e4b8f8b8713f349ba867b829c8ff11a

Docker拉取命令

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2025-04-01 07:21:40  0.00B 设置默认要执行的命令
CMD ["valkey-server"]
                        
# 2025-04-01 07:21:40  0.00B 声明容器运行时监听的端口
EXPOSE map[6379/tcp:{}]
                        
# 2025-04-01 07:21:40  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2025-04-01 07:21:40  555.00B 复制新文件或目录到容器中
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
                        
# 2025-04-01 07:21:40  0.00B 设置工作目录为/data
WORKDIR /data
                        
# 2025-04-01 07:21:40  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/data]
                        
# 2025-04-01 07:21:40  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir /data && chown valkey:valkey /data # buildkit
                        
# 2025-04-01 07:21:40  59.54MB 执行命令并创建新的镜像层
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 valkey.tar.gz "$VALKEY_DOWNLOAD_URL"; 			echo "$VALKEY_DOWNLOAD_SHA *valkey.tar.gz" | sha256sum -c -; 			mkdir -p /usr/src/valkey; 	tar -xzf valkey.tar.gz -C /usr/src/valkey --strip-components=1; 	rm valkey.tar.gz; 		grep -E '^ *createBoolConfig[(]"protected-mode",.*, *1 *,.*[)],$' /usr/src/valkey/src/config.c; 	sed -ri 's!^( *createBoolConfig[(]"protected-mode",.*, *)1( *,.*[)],)$!\10\2!' /usr/src/valkey/src/config.c; 	grep -E '^ *createBoolConfig[(]"protected-mode",.*, *0 *,.*[)],$' /usr/src/valkey/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/valkey/deps/Makefile; 	sed -ri 's!cd jemalloc && ./configure !&'"$extraJemallocConfigureFlags"' !' /usr/src/valkey/deps/Makefile; 	grep -F "cd jemalloc && ./configure $extraJemallocConfigureFlags " /usr/src/valkey/deps/Makefile; 		export BUILD_TLS=yes; 	make -C /usr/src/valkey -j "$(nproc)" all; 	make -C /usr/src/valkey install; 		serverMd5="$(md5sum /usr/local/bin/valkey-server | cut -d' ' -f1)"; export serverMd5; 	find /usr/local/bin/valkey* -maxdepth 0 		-type f -not -name valkey-server 		-exec sh -eux -c ' 			md5="$(md5sum "$1" | cut -d" " -f1)"; 			test "$md5" = "$serverMd5"; 		' -- '{}' ';' 		-exec ln -svfT 'valkey-server' '{}' ';' 	; 		rm -r /usr/src/valkey; 		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; 		valkey-cli --version; 	valkey-server --version; 		echo '{"spdxVersion":"SPDX-2.3","SPDXID":"SPDXRef-DOCUMENT","name":"valkey-server-sbom","packages":[{"name":"valkey-server","versionInfo":"8.0.2","SPDXID":"SPDXRef-Package--valkey-server","externalRefs":[{"referenceCategory":"PACKAGE-MANAGER","referenceType":"purl","referenceLocator":"pkg:generic/valkey-server@8.0.2?os_name=debian&os_version=bookworm"}],"licenseDeclared":"BSD-3-Clause"}]}' > /usr/local/valkey.spdx.json # buildkit
                        
# 2025-04-01 07:21:40  0.00B 设置环境变量 VALKEY_DOWNLOAD_SHA
ENV VALKEY_DOWNLOAD_SHA=e052c45b3cbe512e24fdfdc3fd337f9f5e4b8f8b8713f349ba867b829c8ff11a
                        
# 2025-04-01 07:21:40  0.00B 设置环境变量 VALKEY_DOWNLOAD_URL
ENV VALKEY_DOWNLOAD_URL=https://github.com/valkey-io/valkey/archive/refs/tags/8.0.2.tar.gz
                        
# 2025-04-01 07:21:40  0.00B 设置环境变量 VALKEY_VERSION
ENV VALKEY_VERSION=8.0.2
                        
# 2025-04-01 07:19:34  3.40MB 执行命令并创建新的镜像层
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-04-01 07:19:27  4.31KB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	groupadd -r -g 999 valkey; 	useradd -r -g valkey -u 999 valkey # buildkit
                        
# 2025-03-17 08:00:00  74.78MB 
# debian.sh --arch 'amd64' out/ 'bookworm' '@1742169600'
                        
                    

镜像信息

{
    "Id": "sha256:2bb194c049e651350ddbd3b9e87f8cc04fb9f1f53f785fef0b58a73a12c0c894",
    "RepoTags": [
        "valkey/valkey:8.0.2",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/valkey/valkey:8.0.2"
    ],
    "RepoDigests": [
        "valkey/valkey@sha256:453a0af6b483eeb17673529755bffc5be55ee52f22bda16966a29b61a5154404",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/valkey/valkey@sha256:bdc1f1f7775f50f092cecf0e55e4cf66f472e193ea9923f160ce2773ae8377a3"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-03-31T23:21:40.678950027Z",
    "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",
            "VALKEY_VERSION=8.0.2",
            "VALKEY_DOWNLOAD_URL=https://github.com/valkey-io/valkey/archive/refs/tags/8.0.2.tar.gz",
            "VALKEY_DOWNLOAD_SHA=e052c45b3cbe512e24fdfdc3fd337f9f5e4b8f8b8713f349ba867b829c8ff11a"
        ],
        "Cmd": [
            "valkey-server"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/data": {}
        },
        "WorkingDir": "/data",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 137732942,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/8e7d23419c7bbc0108fd346d1305745ba9f17cfa0558ddb1f80f0f570e8d548c/diff:/var/lib/docker/overlay2/73d17d226875218ae6acb4352d6ddad6ba4701728a799e9a32bf52d88754e2a4/diff:/var/lib/docker/overlay2/ce4030d977ec2c7fa94b944106c9e4a6218867336c33c6c8b985d5f19fc695af/diff:/var/lib/docker/overlay2/185578e41eb1649e5110c9dad888cb4fd61f028d35487774d68eed9e1ae5911c/diff:/var/lib/docker/overlay2/039a147e4671f570c7ae28ebdaee0eb41981df86d9d0d947e3c23c4539d29228/diff:/var/lib/docker/overlay2/7295d95395d04ab7dfa97ead24c0ca9b06125f4f3277903f0a1a9d60d3c5e7ca/diff",
            "MergedDir": "/var/lib/docker/overlay2/8fcfa6df003e7a8e94472fd58e3ea6d1d52888aec2995b71464e13e4ffc2893b/merged",
            "UpperDir": "/var/lib/docker/overlay2/8fcfa6df003e7a8e94472fd58e3ea6d1d52888aec2995b71464e13e4ffc2893b/diff",
            "WorkDir": "/var/lib/docker/overlay2/8fcfa6df003e7a8e94472fd58e3ea6d1d52888aec2995b71464e13e4ffc2893b/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:1287fbecdfcce6ee8cf2436e5b9e9d86a4648db2d91080377d499737f1b307f3",
            "sha256:87bd60f8617a468e5f5e9a693aebc5e128c02a8000208dc83363ac8e1d5ddc37",
            "sha256:176ea7eb662efe5374cd9b95bce982ef543a8efc963f55a85161ca46ea5ce7c2",
            "sha256:378600034be926825f1978d474fd83b9af62bf6072b80c7171f2f3d8dd457a00",
            "sha256:d9039eb21b55536fdca3815d74f6b8fa7978c08e7bf3ae69ed255d069865a351",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:1828ffd57260aae73cc1a4ca57088bc7c114f4838e9a2a550ab77737ff5e57ef"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-04-02T16:48:01.062422891+08:00"
    }
}

更多版本

docker.io/valkey/valkey:8

linux/amd64 docker.io134.25MB2024-11-06 15:08
738

docker.io/valkey/valkey:8-alpine

linux/amd64 docker.io39.05MB2024-12-09 22:12
245

docker.io/valkey/valkey:alpine3.21

linux/arm64 docker.io39.77MB2025-02-13 16:56
87

docker.io/valkey/valkey:8-alpine

linux/arm64 docker.io39.77MB2025-03-18 17:52
39

docker.io/valkey/valkey:8

linux/arm64 docker.io153.93MB2025-03-21 14:43
48

docker.io/valkey/valkey:7.2.8

linux/amd64 docker.io137.12MB2025-04-02 16:46
6

docker.io/valkey/valkey:8.0.2

linux/amd64 docker.io137.73MB2025-04-02 16:48
6