docker.io/timescale/timescaledb:2.3.1-pg11 linux/amd64

docker.io/timescale/timescaledb:2.3.1-pg11 - 国内下载镜像源 浏览次数:73

TimescaleDB 镜像

描述

这是一个包含 TimescaleDB 数据库的 Docker 镜像。TimescaleDB 是一个开源的关系型数据库,它在 PostgreSQL 之上构建,用于时间序列数据。

该镜像提供了一个预先配置的 TimescaleDB 环境,方便用户快速部署和使用。

源镜像 docker.io/timescale/timescaledb:2.3.1-pg11
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb:2.3.1-pg11
镜像ID sha256:7c87cb3b278f975d1f10e552bb37a4aa4e83c4665eccf3cb7cd75848859ed840
镜像TAG 2.3.1-pg11
大小 228.21MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD postgres
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 73 次
贡献者
镜像创建 2021-07-06T11:50:04.261984471Z
同步时间 2024-11-25 11:42
更新时间 2025-02-05 21:15
开放端口
5432/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=en_US.utf8 PG_MAJOR=11 PG_VERSION=11.12 PG_SHA256=87f9d8b16b2b8ef71586f2ec76beac844819f64734b07fa33986755c2f53cb04 PGDATA=/var/lib/postgresql/data TIMESCALEDB_VERSION=2.3.1
镜像标签
Timescale https://www.timescale.com: maintainer
镜像安全扫描 查看Trivy扫描报告

系统OS: alpine 3.14.0 扫描引擎: Trivy 扫描时间: 2024-11-25 11:42

低危漏洞:2 中危漏洞:78 高危漏洞:141 严重漏洞:12

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb:2.3.1-pg11
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb:2.3.1-pg11  docker.io/timescale/timescaledb:2.3.1-pg11

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb:2.3.1-pg11
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb:2.3.1-pg11  docker.io/timescale/timescaledb:2.3.1-pg11

Shell快速替换命令

sed -i 's#timescale/timescaledb:2.3.1-pg11#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb:2.3.1-pg11#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb:2.3.1-pg11 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb:2.3.1-pg11  docker.io/timescale/timescaledb:2.3.1-pg11'

Ansible快速分发-Containerd

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

镜像构建历史


# 2021-07-06 19:50:04  6.88MB 执行命令并创建新的镜像层
RUN |1 OSS_ONLY= /bin/sh -c set -ex     && apk add --no-cache --virtual .fetch-deps                 ca-certificates                 git                 openssl                 openssl-dev                 tar     && mkdir -p /build/     && git clone https://github.com/timescale/timescaledb /build/timescaledb         && apk add --no-cache --virtual .build-deps                 coreutils                 dpkg-dev dpkg                 gcc                 libc-dev                 make                 cmake                 util-linux-dev         && cd /build/timescaledb && rm -fr build     && git checkout ${TIMESCALEDB_VERSION}     && ./bootstrap -DREGRESS_CHECKS=OFF -DGENERATE_DOWNGRADE_SCRIPT=ON -DWARNINGS_AS_ERRORS=OFF -DPROJECT_INSTALL_METHOD="docker"${OSS_ONLY}     && cd build && make install     && cd ~         && if [ "${OSS_ONLY}" != "" ]; then rm -f $(pg_config --pkglibdir)/timescaledb-tsl-*.so; fi     && apk del .fetch-deps .build-deps     && rm -rf /build     && sed -r -i "s/[#]*\s*(shared_preload_libraries)\s*=\s*'(.*)'/\1 = 'timescaledb,\2'/;s/,'/'/" /usr/local/share/postgresql/postgresql.conf.sample # buildkit
                        
# 2021-07-06 19:47:42  2.06MB 复制新文件或目录到容器中
COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
                        
# 2021-07-06 19:47:42  19.87MB 复制新文件或目录到容器中
COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
                        
# 2021-07-06 19:47:42  11.06MB 复制新文件或目录到容器中
COPY /go/bin/* /usr/local/bin/ # buildkit
                        
# 2021-07-06 19:47:12  5.15KB 复制新文件或目录到容器中
COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
                        
# 2021-07-06 19:47:12  0.00B 设置环境变量 TIMESCALEDB_VERSION
ENV TIMESCALEDB_VERSION=2.3.1
                        
# 2021-07-06 19:47:12  0.00B 添加元数据标签
LABEL maintainer=Timescale https://www.timescale.com
                        
# 2021-07-06 19:47:12  0.00B 定义构建参数
ARG OSS_ONLY
                        
# 2021-06-26 03:28:10  0.00B 
/bin/sh -c #(nop)  CMD ["postgres"]
                        
# 2021-06-26 03:28:10  0.00B 
/bin/sh -c #(nop)  EXPOSE 5432
                        
# 2021-06-26 03:28:09  0.00B 
/bin/sh -c #(nop)  STOPSIGNAL SIGINT
                        
# 2021-06-26 03:28:09  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2021-06-26 03:28:08  11.31KB 
/bin/sh -c #(nop) COPY file:ad28506adc606e446eefc263bc99d4cb809e608d4f550956143bf13c82c91f85 in /usr/local/bin/ 
                        
# 2021-06-26 03:28:08  0.00B 
/bin/sh -c #(nop)  VOLUME [/var/lib/postgresql/data]
                        
# 2021-06-26 03:28:08  0.00B 
/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA"
                        
# 2021-06-26 03:28:06  0.00B 
/bin/sh -c #(nop)  ENV PGDATA=/var/lib/postgresql/data
                        
# 2021-06-26 03:28:06  0.00B 
/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql
                        
# 2021-06-26 03:28:04  47.88KB 
/bin/sh -c set -eux; 	cp -v /usr/local/share/postgresql/postgresql.conf.sample /usr/local/share/postgresql/postgresql.conf.sample.orig; 	sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample; 	grep -F "listen_addresses = '*'" /usr/local/share/postgresql/postgresql.conf.sample
                        
# 2021-06-26 03:28:01  182.68MB 
/bin/sh -c set -eux; 		wget -O postgresql.tar.bz2 "https://ftp.postgresql.org/pub/source/v$PG_VERSION/postgresql-$PG_VERSION.tar.bz2"; 	echo "$PG_SHA256 *postgresql.tar.bz2" | sha256sum -c -; 	mkdir -p /usr/src/postgresql; 	tar 		--extract 		--file postgresql.tar.bz2 		--directory /usr/src/postgresql 		--strip-components 1 	; 	rm postgresql.tar.bz2; 		apk add --no-cache --virtual .build-deps 		bison 		coreutils 		dpkg-dev dpkg 		flex 		gcc 		libc-dev 		libedit-dev 		libxml2-dev 		libxslt-dev 		linux-headers 		llvm11-dev clang g++ 		make 		openssl-dev 		perl-utils 		perl-ipc-run 		util-linux-dev 		zlib-dev 		icu-dev 	; 		cd /usr/src/postgresql; 	awk '$1 == "#define" && $2 == "DEFAULT_PGSOCKET_DIR" && $3 == "\"/tmp\"" { $3 = "\"/var/run/postgresql\""; print; next } { print }' src/include/pg_config_manual.h > src/include/pg_config_manual.h.new; 	grep '/var/run/postgresql' src/include/pg_config_manual.h.new; 	mv src/include/pg_config_manual.h.new src/include/pg_config_manual.h; 	gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; 	wget -O config/config.guess 'https://git.savannah.gnu.org/cgit/config.git/plain/config.guess?id=7d3d27baf8107b630586c962c057e22149653deb'; 	wget -O config/config.sub 'https://git.savannah.gnu.org/cgit/config.git/plain/config.sub?id=7d3d27baf8107b630586c962c057e22149653deb'; 	./configure 		--build="$gnuArch" 		--enable-integer-datetimes 		--enable-thread-safety 		--enable-tap-tests 		--disable-rpath 		--with-uuid=e2fs 		--with-gnu-ld 		--with-pgport=5432 		--with-system-tzdata=/usr/share/zoneinfo 		--prefix=/usr/local 		--with-includes=/usr/local/include 		--with-libraries=/usr/local/lib 				--with-openssl 		--with-libxml 		--with-libxslt 		--with-icu 		--with-llvm 	; 	make -j "$(nproc)" world; 	make install-world; 	make -C contrib install; 		runDeps="$( 		scanelf --needed --nobanner --format '%n#p' --recursive /usr/local 			| tr ',' '\n' 			| sort -u 			| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' 	)"; 	apk add --no-cache --virtual .postgresql-rundeps 		$runDeps 		bash 		su-exec 		tzdata 	; 	apk del --no-network .build-deps; 	cd /; 	rm -rf 		/usr/src/postgresql 		/usr/local/share/doc 		/usr/local/share/man 	; 		postgres --version
                        
# 2021-06-17 06:30:18  0.00B 
/bin/sh -c #(nop)  ENV PG_SHA256=87f9d8b16b2b8ef71586f2ec76beac844819f64734b07fa33986755c2f53cb04
                        
# 2021-06-17 06:30:18  0.00B 
/bin/sh -c #(nop)  ENV PG_VERSION=11.12
                        
# 2021-06-17 06:30:18  0.00B 
/bin/sh -c #(nop)  ENV PG_MAJOR=11
                        
# 2021-06-17 06:24:57  0.00B 
/bin/sh -c mkdir /docker-entrypoint-initdb.d
                        
# 2021-06-17 06:24:56  0.00B 
/bin/sh -c #(nop)  ENV LANG=en_US.utf8
                        
# 2021-06-17 06:24:56  4.71KB 
/bin/sh -c set -eux; 	addgroup -g 70 -S postgres; 	adduser -u 70 -S -D -G postgres -H -h /var/lib/postgresql -s /bin/sh postgres; 	mkdir -p /var/lib/postgresql; 	chown -R postgres:postgres /var/lib/postgresql
                        
# 2021-06-16 06:19:37  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/sh"]
                        
# 2021-06-16 06:19:37  5.60MB 
/bin/sh -c #(nop) ADD file:f278386b0cef68136129f5f58c52445590a417b624d62bca158d4dc926c340df in / 
                        
                    

镜像信息

{
    "Id": "sha256:7c87cb3b278f975d1f10e552bb37a4aa4e83c4665eccf3cb7cd75848859ed840",
    "RepoTags": [
        "timescale/timescaledb:2.3.1-pg11",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb:2.3.1-pg11"
    ],
    "RepoDigests": [
        "timescale/timescaledb@sha256:c38abaa850194667f3813e8244dd780bc201cce3ed05882db9735d666de2f46c",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb@sha256:c0eca9ed2bd588699af8e51892ba13508cb2477f8e178653148d0518d8a8e9f4"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2021-07-06T11:50:04.261984471Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": {
            "5432/tcp": {}
        },
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "LANG=en_US.utf8",
            "PG_MAJOR=11",
            "PG_VERSION=11.12",
            "PG_SHA256=87f9d8b16b2b8ef71586f2ec76beac844819f64734b07fa33986755c2f53cb04",
            "PGDATA=/var/lib/postgresql/data",
            "TIMESCALEDB_VERSION=2.3.1"
        ],
        "Cmd": [
            "postgres"
        ],
        "Image": "",
        "Volumes": {
            "/var/lib/postgresql/data": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "maintainer": "Timescale https://www.timescale.com"
        },
        "StopSignal": "SIGINT"
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 228208079,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/5036cd74fa7e427d1002ed0e114b2c9ed5614e92610f4bf9cb1e57802ad71845/diff:/var/lib/docker/overlay2/4ff5351a1d9d7dd7b9063d37508aedd7e7de068d697f524dfe3f84bf675343a0/diff:/var/lib/docker/overlay2/4e269532e6aea62e1f56339351bdf30f9cd31585d0693ef3a7fe3d04fd620909/diff:/var/lib/docker/overlay2/f40c3ad5969614a8743bc344a0f671a445277832fa453a39b6d39f0b1abd5944/diff:/var/lib/docker/overlay2/7745040fd0ac7b7369a73579b73bca0b49686b175722820ea4839ef09e398b6d/diff:/var/lib/docker/overlay2/732118b2fbd52c2f66b06174866accb32b644b130fc28c4a30aa3b0fc5aa7822/diff:/var/lib/docker/overlay2/dae6215660551b2ec152675909295a7d4de6b840b51d55de9a1e730dc9688b76/diff:/var/lib/docker/overlay2/83decd5c2aff2fd3f3ea91697387f720a33b01a94f259f7578b3ba9b15a4f413/diff:/var/lib/docker/overlay2/70b946b034c732eb5e15618d715115a1fc9ff3c9fbdb1b10d42a676e89eec6bd/diff:/var/lib/docker/overlay2/f5f8ae13084feda077b9981aef8bf2bb771057f34a751d2105d507aaeda1fa60/diff:/var/lib/docker/overlay2/9d7686342fa04623034ca9dbb5aecbcc64c670a3cd05612ca3e433bd28f314a6/diff:/var/lib/docker/overlay2/49a086c90622a51f160ad44be244a42d8ee094224fc2fd72ad363c328b72b38c/diff",
            "MergedDir": "/var/lib/docker/overlay2/60ce7e6defeffc23e2e5ea4cb9ce7a555f7a46522e62a9842b30140159750326/merged",
            "UpperDir": "/var/lib/docker/overlay2/60ce7e6defeffc23e2e5ea4cb9ce7a555f7a46522e62a9842b30140159750326/diff",
            "WorkDir": "/var/lib/docker/overlay2/60ce7e6defeffc23e2e5ea4cb9ce7a555f7a46522e62a9842b30140159750326/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:72e830a4dff5f0d5225cdc0a320e85ab1ce06ea5673acfe8d83a7645cbd0e9cf",
            "sha256:e9d3f818c16b4baf00d2c2a573190cee054e3a37520d8d5e3aaef07228dba2ea",
            "sha256:1e7a4bd8a6b9aa522c6b18dade106511a3318da73244c93d402964aef1926c46",
            "sha256:736ed2c304f807aadad16a0628b6ff87e52cdb57da24a42328d1d91a7564752f",
            "sha256:ee2ec79f54ad0aef8cdb0d6b250bcad2ed141b68bf24210c2d2333ec9f8ae042",
            "sha256:330445d2d1d23b871901f1d15f693d8a8264338e2d5ca4fa61658f9e925129ad",
            "sha256:305e9b4644b2272666b31a523c2bbcfcd46666b7f81c2f09302c0cedac930434",
            "sha256:ac241ece09c9375df34744cc27aeb947f3f3e16ad01a364bb72c22eab7dbe799",
            "sha256:288d7356f1c11f6f78658f2e97ab64048e982943329d927bf44a6066603d1a16",
            "sha256:f59045df5cfffdd833b4bd6866780576ba048b5c9840c382038048a7112aa661",
            "sha256:9a9618cfd3daf3c214836fe6f289eb7d2c197782a66315b6103947a768054237",
            "sha256:fb0b64d0c300f4a10a0cdcf2f82ae001cc0a992f1439216e246455c890536de6",
            "sha256:4b671cae14c1ea0fa830e043280254937d09caeaf2c998e4081c7edeff6f5163"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-25T11:42:33.244743671+08:00"
    }
}

更多版本

docker.io/timescale/timescaledb-ha:pg16-ts2.17-all

linux/amd64 docker.io6.03GB2024-10-16 11:08
169

docker.io/timescale/timescaledb:2.17.0-pg16

linux/amd64 docker.io718.49MB2024-10-31 15:04
100

docker.io/timescale/timescaledb:2.3.1-pg11

linux/amd64 docker.io228.21MB2024-11-25 11:42
72

docker.io/timescale/timescaledb:latest-pg12

linux/amd64 docker.io586.77MB2025-01-22 14:37
42

docker.io/timescale/timescaledb:latest-pg11

linux/amd64 docker.io228.21MB2025-01-22 14:49
47

docker.io/timescale/timescaledb:1.3.0-pg11

linux/amd64 docker.io86.73MB2025-01-22 15:20
44

docker.io/timescale/timescaledb-postgis:1.3.0-pg11

linux/amd64 docker.io162.86MB2025-01-22 16:17
48