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

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

docker.io/valkey/valkey

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

Valkey 提供以下功能:

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

该镜像可以用来:

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

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

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

Docker拉取命令

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 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  58.93MB 执行命令并创建新的镜像层
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":"7.2.8","SPDXID":"SPDXRef-Package--valkey-server","externalRefs":[{"referenceCategory":"PACKAGE-MANAGER","referenceType":"purl","referenceLocator":"pkg:generic/valkey-server@7.2.8?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=2d990b374b783ba05e0081498718ed0640f84bc60b6db24a4bc069f9775f778c
                        
# 2025-04-01 07:21:40  0.00B 设置环境变量 VALKEY_DOWNLOAD_URL
ENV VALKEY_DOWNLOAD_URL=https://github.com/valkey-io/valkey/archive/refs/tags/7.2.8.tar.gz
                        
# 2025-04-01 07:21:40  0.00B 设置环境变量 VALKEY_VERSION
ENV VALKEY_VERSION=7.2.8
                        
# 2025-04-01 07:19:37  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:30  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:eb6f338fe8204cb0536948b78ad9f52ef132cebe432746a502b18d0d4d888401",
    "RepoTags": [
        "valkey/valkey:7.2.8",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/valkey/valkey:7.2.8"
    ],
    "RepoDigests": [
        "valkey/valkey@sha256:f2a4dfcdbe790d5075d8f3a7932fe12c0672f0500fd4025d876c0adc855550f7",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/valkey/valkey@sha256:bd8e75a38181d8c8eee232a0cbc4d127ede48e409af92c7fc7b144b3d9fce416"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-03-31T23:21:40.687413011Z",
    "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=7.2.8",
            "VALKEY_DOWNLOAD_URL=https://github.com/valkey-io/valkey/archive/refs/tags/7.2.8.tar.gz",
            "VALKEY_DOWNLOAD_SHA=2d990b374b783ba05e0081498718ed0640f84bc60b6db24a4bc069f9775f778c"
        ],
        "Cmd": [
            "valkey-server"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/data": {}
        },
        "WorkingDir": "/data",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 137118046,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/d558d16dd3bb6766625fe969d2c2508f62252c35884dcb50c5b9e9ea48fb6277/diff:/var/lib/docker/overlay2/e97439266f9555412ef3d1cc10e5cce5f5096a56be7d9d8a5440e48cbbabef8d/diff:/var/lib/docker/overlay2/ff571c4bdbb402b3503bed510b696a3563c8630ddb6fe031294387a0f70374fc/diff:/var/lib/docker/overlay2/08f3da47c93f17729d2ed80d10aa5320eb04bba8fce52ae00d4ac664e515d297/diff:/var/lib/docker/overlay2/1d95f2dcaf05e603a0819e77bf26cad9a63ad54cf09f0bd9b4e7faf4af495423/diff:/var/lib/docker/overlay2/7295d95395d04ab7dfa97ead24c0ca9b06125f4f3277903f0a1a9d60d3c5e7ca/diff",
            "MergedDir": "/var/lib/docker/overlay2/1d08d726fa6230acba932fd7e864bd44db16e088cbc22db8350d6557ea3faeae/merged",
            "UpperDir": "/var/lib/docker/overlay2/1d08d726fa6230acba932fd7e864bd44db16e088cbc22db8350d6557ea3faeae/diff",
            "WorkDir": "/var/lib/docker/overlay2/1d08d726fa6230acba932fd7e864bd44db16e088cbc22db8350d6557ea3faeae/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:1287fbecdfcce6ee8cf2436e5b9e9d86a4648db2d91080377d499737f1b307f3",
            "sha256:ce13ba5b0b4546a410fb5fa91e4ce14540aff285d63ad64b262cf780928cfee9",
            "sha256:498d8bc2474924f48f2e17ea8057d0cd11fcd3b977190b4e79171be9e57f23e2",
            "sha256:672158a98acc64f734455c3e9991cdf87ed9a0a0ff6ddc5f3f785128f5100c60",
            "sha256:d9039eb21b55536fdca3815d74f6b8fa7978c08e7bf3ae69ed255d069865a351",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:21c94b0900873ba2b27fa156d1fb1aaee24284a75a4fdca565326031501149cd"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-04-02T16:45:55.114411283+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