docker.io/library/cassandra:3.11.3 linux/amd64

docker.io/library/cassandra:3.11.3 - 国内下载镜像源 浏览次数:14 安全受验证的发布者-Docker

这是一个Apache Cassandra数据库的Docker官方镜像。它提供了一个预先配置好的Cassandra集群,方便用户快速部署和使用。镜像包含了Cassandra数据库的所有必要组件,可以直接运行。

源镜像 docker.io/library/cassandra:3.11.3
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/cassandra:3.11.3
镜像ID sha256:32c3feeb57712849f409c7a23ec5e1bf9d84c619c27d8b80993a8a7dee472d26
镜像TAG 3.11.3
大小 323.15MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD cassandra -f
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 14 次
贡献者 30******7@qq.com
镜像创建 2019-02-06T05:14:18.312007843Z
同步时间 2025-08-29 09:53
更新时间 2025-08-29 19:32
开放端口
7000/tcp 7001/tcp 7199/tcp 9042/tcp 9160/tcp
目录挂载
/var/lib/cassandra
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOSU_VERSION=1.10 GPG_KEYS=514A2AD631A57A16DD0047EC749D6EEC0353B12C A26E528B271F19B9E5D8E19EA278B781FE4B2BDA CASSANDRA_VERSION=3.11.3 CASSANDRA_CONFIG=/etc/cassandra

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/cassandra:3.11.3
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/cassandra:3.11.3  docker.io/library/cassandra:3.11.3

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/cassandra:3.11.3
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/cassandra:3.11.3  docker.io/library/cassandra:3.11.3

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2019-02-06 13:14:18  0.00B 
/bin/sh -c #(nop)  CMD ["cassandra" "-f"]
                        
# 2019-02-06 13:14:18  0.00B 
/bin/sh -c #(nop)  EXPOSE 7000 7001 7199 9042 9160
                        
# 2019-02-06 13:14:17  0.00B 
/bin/sh -c #(nop)  VOLUME [/var/lib/cassandra]
                        
# 2019-02-06 13:14:17  92.61KB 
/bin/sh -c mkdir -p /var/lib/cassandra "$CASSANDRA_CONFIG" 	&& chown -R cassandra:cassandra /var/lib/cassandra "$CASSANDRA_CONFIG" 	&& chmod 777 /var/lib/cassandra "$CASSANDRA_CONFIG"
                        
# 2019-02-06 13:14:16  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2019-02-06 13:14:16  34.00B 
/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh /docker-entrypoint.sh # backwards compat
                        
# 2019-02-06 13:14:15  2.25KB 
/bin/sh -c #(nop) COPY file:32df6d10eaefa72af8b8f14546dffbafa553b673990a6dbbe9870c1909627db8 in /usr/local/bin/ 
                        
# 2019-02-06 13:14:15  12.53KB 
/bin/sh -c set -ex; 		dpkgArch="$(dpkg --print-architecture)"; 	case "$dpkgArch" in 		ppc64el) 			if grep -q -- '^-Xss' "$CASSANDRA_CONFIG/jvm.options"; then 				grep -- '^-Xss256k$' "$CASSANDRA_CONFIG/jvm.options"; 				sed -ri 's/^-Xss256k$/-Xss512k/' "$CASSANDRA_CONFIG/jvm.options"; 				grep -- '^-Xss512k$' "$CASSANDRA_CONFIG/jvm.options"; 			elif grep -q -- '-Xss256k' "$CASSANDRA_CONFIG/cassandra-env.sh"; then 				sed -ri 's/-Xss256k/-Xss512k/g' "$CASSANDRA_CONFIG/cassandra-env.sh"; 				grep -- '-Xss512k' "$CASSANDRA_CONFIG/cassandra-env.sh"; 			fi; 			;; 	esac; 		sed -ri 's/^(JVM_PATCH_VERSION)=.*/\1=25/' "$CASSANDRA_CONFIG/cassandra-env.sh"
                        
# 2019-02-06 13:14:14  0.00B 
/bin/sh -c #(nop)  ENV CASSANDRA_CONFIG=/etc/cassandra
                        
# 2019-02-06 13:14:13  251.29MB 
/bin/sh -c set -ex; 		mkdir -p /usr/share/man/man1/; 		dpkgArch="$(dpkg --print-architecture)"; 	case "$dpkgArch" in 		amd64|i386) 			echo 'deb http://www.apache.org/dist/cassandra/debian 311x main' > /etc/apt/sources.list.d/cassandra.list; 			apt-get update; 			;; 		*) 						savedAptMark="$(apt-mark showmanual)"; 						apt-get update; 			apt-get install -y --no-install-recommends 				wget ca-certificates 				dpkg-dev 			; 						apt-mark showmanual | xargs apt-mark auto > /dev/null; 			apt-mark manual $savedAptMark; 						tempDir="$(mktemp -d)"; 			for pkg in cassandra cassandra-tools; do 				deb="${pkg}_${CASSANDRA_VERSION}_all.deb"; 				wget -O "$tempDir/$deb" "https://www.apache.org/dist/cassandra/debian/pool/main/c/cassandra/$deb"; 			done; 						ls -lAFh "$tempDir"; 			( cd "$tempDir" && dpkg-scanpackages . > Packages ); 			grep '^Package: ' "$tempDir/Packages"; 			echo "deb [ trusted=yes ] file://$tempDir ./" > /etc/apt/sources.list.d/temp.list; 			apt-get -o Acquire::GzipIndexes=false update; 			;; 	esac; 		apt-get install -y 		cassandra="$CASSANDRA_VERSION" 		cassandra-tools="$CASSANDRA_VERSION" 	; 		rm -rf /var/lib/apt/lists/*; 		if [ -n "$tempDir" ]; then 		apt-get purge -y --auto-remove; 		rm -rf "$tempDir" /etc/apt/sources.list.d/temp.list; 	fi
                        
# 2019-02-06 13:13:25  0.00B 
/bin/sh -c #(nop)  ENV CASSANDRA_VERSION=3.11.3
                        
# 2019-02-06 13:09:43  18.41KB 
/bin/sh -c set -ex; 	export GNUPGHOME="$(mktemp -d)"; 	for key in $GPG_KEYS; do 		gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; 	done; 	gpg --batch --export $GPG_KEYS > /etc/apt/trusted.gpg.d/cassandra.gpg; 	command -v gpgconf && gpgconf --kill all || :; 	rm -rf "$GNUPGHOME"; 	apt-key list
                        
# 2019-02-06 13:09:39  0.00B 
/bin/sh -c #(nop)  ENV GPG_KEYS=514A2AD631A57A16DD0047EC749D6EEC0353B12C 	A26E528B271F19B9E5D8E19EA278B781FE4B2BDA
                        
# 2019-02-06 13:09:39  3.05MB 
/bin/sh -c set -x 	&& apt-get update && apt-get install -y --no-install-recommends ca-certificates wget && rm -rf /var/lib/apt/lists/* 	&& wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)" 	&& wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).asc" 	&& export GNUPGHOME="$(mktemp -d)" 	&& gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4 	&& gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu 	&& { command -v gpgconf && gpgconf --kill all || :; } 	&& rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc 	&& chmod +x /usr/local/bin/gosu 	&& gosu nobody true 	&& apt-get purge -y --auto-remove ca-certificates wget
                        
# 2019-02-06 13:09:19  0.00B 
/bin/sh -c #(nop)  ENV GOSU_VERSION=1.10
                        
# 2019-02-06 13:09:19  13.05MB 
/bin/sh -c set -ex; 	apt-get update; 	apt-get install -y --no-install-recommends 		libjemalloc1 		procps 		iproute2 	; 	if ! command -v gpg > /dev/null; then 		apt-get install -y --no-install-recommends 			dirmngr 			gnupg 		; 	fi; 	rm -rf /var/lib/apt/lists/*
                        
# 2019-02-06 13:09:07  328.57KB 
/bin/sh -c groupadd -r cassandra --gid=999 && useradd -r -g cassandra --uid=999 cassandra
                        
# 2019-02-06 11:30:19  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2019-02-06 11:30:19  55.30MB 
/bin/sh -c #(nop) ADD file:5a6d066ba71fb0a4789971d41a896c905e3df4989b15e2079c09ddaad6ca3ccd in / 
                        
                    

镜像信息

{
    "Id": "sha256:32c3feeb57712849f409c7a23ec5e1bf9d84c619c27d8b80993a8a7dee472d26",
    "RepoTags": [
        "cassandra:3.11.3",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/cassandra:3.11.3"
    ],
    "RepoDigests": [
        "cassandra@sha256:ce85468c5badfa2e0a04ae6825eee9421b42d9b12d1a781c0dd154f70d1ca288",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/cassandra@sha256:7079275a480705095018a7d6a373fc4c023db8bc2d08127e0d5658935e63cf25"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2019-02-06T05:14:18.312007843Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "18.06.1-ce",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "7000/tcp": {},
            "7001/tcp": {},
            "7199/tcp": {},
            "9042/tcp": {},
            "9160/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "GOSU_VERSION=1.10",
            "GPG_KEYS=514A2AD631A57A16DD0047EC749D6EEC0353B12C \tA26E528B271F19B9E5D8E19EA278B781FE4B2BDA",
            "CASSANDRA_VERSION=3.11.3",
            "CASSANDRA_CONFIG=/etc/cassandra"
        ],
        "Cmd": [
            "cassandra",
            "-f"
        ],
        "ArgsEscaped": true,
        "Image": "sha256:8473612a3fafc05c555b18748aad86d9a0d729cc81002cb724358bd88584477c",
        "Volumes": {
            "/var/lib/cassandra": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 323145746,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/c5da9607f242dbc1bc638f095f29e25315e5e5a717d581362df32582d950db80/diff:/var/lib/docker/overlay2/78f8de16f515c7b25a7e648c8df9c84ec37dc76fb015e2c114aa9afd210eb0b2/diff:/var/lib/docker/overlay2/bbcfa2287def178b09ace63548fe77a094ce0a1192b1c2213f8ec8756a69ef03/diff:/var/lib/docker/overlay2/872bc902ebb34a7b19f5c2bd2d6a28bedc7ca0f2cc8139510239b15d87b97c04/diff:/var/lib/docker/overlay2/54f1e7e08b16799fbf2f76d5d0644229b7ed20151f46332a8e34fef0bda32a46/diff:/var/lib/docker/overlay2/6422f1f3b48afb756bb576a2dea21ac2c52962b13f4b55353f5fd534a3e1fa60/diff:/var/lib/docker/overlay2/1e034ebbf1e173066c0129a02300bba646c3f9dbc79cbd83800ea9e655b4031d/diff:/var/lib/docker/overlay2/145da649c176bb78fe8eed534b8586084feb493193b2daf2246827cf21bbd7a4/diff:/var/lib/docker/overlay2/67f27bde2ec503e21a6eb62a403dd2b7dbf85df5e013aaec86459496decee883/diff",
            "MergedDir": "/var/lib/docker/overlay2/d389365fd49a260c099262210a0fc0b8062869c90fdb5dc165c0edd3b1749a2c/merged",
            "UpperDir": "/var/lib/docker/overlay2/d389365fd49a260c099262210a0fc0b8062869c90fdb5dc165c0edd3b1749a2c/diff",
            "WorkDir": "/var/lib/docker/overlay2/d389365fd49a260c099262210a0fc0b8062869c90fdb5dc165c0edd3b1749a2c/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:0a07e81f5da36e4cd6c89d9bc3af643345e56bb2ed74cc8772e42ec0d393aee3",
            "sha256:d0c35ab247891dc934d0fb45aa4cff9589588ee654c5787c4aa332271bf163bf",
            "sha256:0651527ebfa6cd9970619303917bfc443b0fee4e7bfa04284e4ca997f2729833",
            "sha256:5e1c698a38bbaa1b21d29b8f3230967ef39439db351b642ce3cf1eb875d4fa7e",
            "sha256:c8f4e6e3396be800cef2b849bcbeefcf453e0af29e65987d1e86a387d3baf695",
            "sha256:52d945deb41618bf2248d4e166c88460b4b3a4370cad76a50dad93f875bae5ae",
            "sha256:ef338f6989c0a10129248f106de2437f67be86f35826d55d432e45c0d2623735",
            "sha256:4e58f63ff39f0da5fd742f5ebb6f8863bec116b882f36b0fb923baccea5bf824",
            "sha256:752d956a31658d4585b8a6795ef32ed6772d98387537ca712e14101fb0231518",
            "sha256:e4f1133769a5ae4e212e0e3fa35e3e948df5ca1b57d339255f0efb24b5afaaa3"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-08-29T09:53:17.812393277+08:00"
    }
}

更多版本

docker.io/library/cassandra:3.11.6

linux/amd64 docker.io383.56MB2024-11-28 12:27
243

docker.io/library/cassandra:3.11.3

linux/amd64 docker.io323.15MB2025-08-29 09:53
13