docker.io/jumpserver/redis:7.0-bullseye linux/amd64

docker.io/jumpserver/redis:7.0-bullseye - 国内下载镜像源 浏览次数:14 安全受验证的发布者-Jumpserver
JumpServer 的 Redis 镜像,用于快速部署和管理 Redis 服务。
源镜像 docker.io/jumpserver/redis:7.0-bullseye
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jumpserver/redis:7.0-bullseye
镜像ID sha256:788a7e68528343502a8942de93f92b4e778d5e9304dfb6f8dba8f7e37484a630
镜像TAG 7.0-bullseye
大小 117.16MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD redis-server
启动入口 docker-entrypoint.sh
工作目录 /data
OS/平台 linux/amd64
浏览量 14 次
贡献者
镜像创建 2024-01-12T03:38:32.729176675Z
同步时间 2025-01-16 16:31
更新时间 2025-01-18 09:36
开放端口
6379/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOSU_VERSION=1.17 REDIS_VERSION=7.0.15 REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-7.0.15.tar.gz REDIS_DOWNLOAD_SHA=98066f5363504b26c34dd20fbcc3c957990d764cdf42576c836fc021073f4341

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2024-01-12 11:38:32  0.00B 设置默认要执行的命令
CMD ["redis-server"]
                        
# 2024-01-12 11:38:32  0.00B 声明容器运行时监听的端口
EXPOSE map[6379/tcp:{}]
                        
# 2024-01-12 11:38:32  0.00B 配置容器启动时运行的命令
ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2024-01-12 11:38:32  660.00B 复制新文件或目录到容器中
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
                        
# 2024-01-12 11:38:32  0.00B 设置工作目录为/data
WORKDIR /data
                        
# 2024-01-12 11:38:32  0.00B 创建挂载点用于持久化数据或共享数据
VOLUME [/data]
                        
# 2024-01-12 11:38:32  0.00B 执行命令并创建新的镜像层
RUN /bin/sh -c mkdir /data && chown redis:redis /data # buildkit
                        
# 2024-01-12 11:38:32  32.08MB 执行命令并创建新的镜像层
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); 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; 		echo '{"spdxVersion":"SPDX-2.3","SPDXID":"SPDXRef-DOCUMENT","name":"redis-server-sbom","packages":[{"name":"redis-server","versionInfo":"7.2.3","SPDXID":"SPDXRef-Package--redis-server","externalRefs":[{"referenceCategory":"PACKAGE-MANAGER","referenceType":"purl","referenceLocator":"pkg:generic/redis-server@7.2.3?os_name=debian&os_version=bookworm"}],"licenseDeclared":"BSD-3-Clause"}]}' > /usr/local/redis.spdx.json # buildkit
                        
# 2024-01-12 11:20:21  0.00B 设置环境变量 REDIS_DOWNLOAD_SHA
ENV REDIS_DOWNLOAD_SHA=98066f5363504b26c34dd20fbcc3c957990d764cdf42576c836fc021073f4341
                        
# 2024-01-12 11:20:21  0.00B 设置环境变量 REDIS_DOWNLOAD_URL
ENV REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-7.0.15.tar.gz
                        
# 2024-01-12 11:20:21  0.00B 设置环境变量 REDIS_VERSION
ENV REDIS_VERSION=7.0.15
                        
# 2024-01-12 11:20:21  4.20MB 执行命令并创建新的镜像层
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
                        
# 2024-01-12 11:20:21  0.00B 设置环境变量 GOSU_VERSION
ENV GOSU_VERSION=1.17
                        
# 2024-01-12 11:19:57  5.56KB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	apt-get update; 	apt-get install -y --no-install-recommends 		tzdata 	; 	rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2024-01-12 11:19:52  327.14KB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	groupadd -r -g 999 redis; 	useradd -r -g redis -u 999 redis # buildkit
                        
# 2024-01-11 10:38:17  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2024-01-11 10:38:16  80.55MB 
/bin/sh -c #(nop) ADD file:bd961ef3fd78ceb8ce13f43a6b265e2bef640dfff887462b8ceb73a1d4637401 in / 
                        
                    

镜像信息

{
    "Id": "sha256:788a7e68528343502a8942de93f92b4e778d5e9304dfb6f8dba8f7e37484a630",
    "RepoTags": [
        "jumpserver/redis:7.0-bullseye",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jumpserver/redis:7.0-bullseye"
    ],
    "RepoDigests": [
        "jumpserver/redis@sha256:07e64e37e999a22fb49f95c0df5fb5ce10daedffc38a01fefeee98ff5ab8a521",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/jumpserver/redis@sha256:129c044bedcabd6eaf86a8088fe24e3eb0c5a7ab57a9f1ff7133aa64ed898e9b"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-01-12T03:38:32.729176675Z",
    "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=7.0.15",
            "REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-7.0.15.tar.gz",
            "REDIS_DOWNLOAD_SHA=98066f5363504b26c34dd20fbcc3c957990d764cdf42576c836fc021073f4341"
        ],
        "Cmd": [
            "redis-server"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": {
            "/data": {}
        },
        "WorkingDir": "/data",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 117157288,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/1e8cfaba8ca94d9b50f693f985bb26a036d713ccbbc12f0f8ba36609d779725f/diff:/var/lib/docker/overlay2/a7138627e65093523b0d3a2787d9e8953a98fa70b1c453f9db9be98796ad567a/diff:/var/lib/docker/overlay2/950382e631caa0978dac2e1f7edaca6f8ea6eda4d48092b73930c1b0a6113634/diff:/var/lib/docker/overlay2/2e38f7e3227f117061926c078f6420767939be35a0efa83367d6a01a4669d988/diff:/var/lib/docker/overlay2/df1461a9541ffb9ece27122cace18af3b1ef8b06bbbe239703d90124cdf71206/diff:/var/lib/docker/overlay2/e0b7871289ccff37764469d049accf29f911b6da800700f156022dfc4facc62b/diff:/var/lib/docker/overlay2/cd557712222a2a625a156ffc189d5b1de38dcf13d4b7ce9713e60b2a06091fea/diff",
            "MergedDir": "/var/lib/docker/overlay2/e9df49ab7ab168610c516c0f9681eb49361619c026c3909145b541db741a2e2b/merged",
            "UpperDir": "/var/lib/docker/overlay2/e9df49ab7ab168610c516c0f9681eb49361619c026c3909145b541db741a2e2b/diff",
            "WorkDir": "/var/lib/docker/overlay2/e9df49ab7ab168610c516c0f9681eb49361619c026c3909145b541db741a2e2b/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:e1325a2db1db2260452d6a438db928c7670d8ed925800e99e8919b570174dad0",
            "sha256:f5069bc2825b9c68b5070a22862a826d228906006e71716dcb4311f2a79f3f74",
            "sha256:3857666e7fb3fe19b8c164c1c048a2ff8de4833146fb5741b12c60d417366a1b",
            "sha256:431d230678b4143cfcc3b16d9846ee29f767b2c3e658201ad205bf5cbba59b82",
            "sha256:43e9f2c781dd84953becc3f15e13768c0d09ee16d1999e6ad0e5c181b548d05c",
            "sha256:33c106b4089bad027b701230d5534243fb319d503e9acc76f232949e68234779",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:3dac8eb434b3bea2ee5b1326fb611245c91f67e8aa6bd8ec4d5d6c87721514df"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-16T16:31:21.326734482+08:00"
    }
}

更多版本

docker.io/jumpserver/redis:6.2

linux/amd64 docker.io112.89MB2024-07-02 14:27
179

docker.io/jumpserver/redis:7.0-bullseye

linux/amd64 docker.io117.16MB2025-01-16 16:31
13