docker.io/timescale/timescaledb:latest-pg12 linux/amd64

docker.io/timescale/timescaledb:latest-pg12 - 国内下载镜像源 浏览次数:42

温馨提示:此镜像为latest tag镜像,本站无法保证此版本为最新镜像

TimescaleDB 镜像

描述

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

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

源镜像 docker.io/timescale/timescaledb:latest-pg12
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb:latest-pg12
镜像ID sha256:618b48fc5342e34e4127402dfe100138de728aa8d8cd6561fd02c9523f456e33
镜像TAG latest-pg12
大小 586.77MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD postgres
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 42 次
贡献者
镜像创建 2023-08-17T07:00:09.807897378Z
同步时间 2025-01-22 14:37
更新时间 2025-02-05 09:47
开放端口
5432/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=en_US.utf8 PG_MAJOR=12 PG_VERSION=12.16 PG_SHA256=c5f1fff7a0f93e1ec3746417b0594290ece617b4995ed95b8d527af0ba0e38f3 DOCKER_PG_LLVM_DEPS=llvm15-dev clang15 PGDATA=/var/lib/postgresql/data
镜像标签
Timescale https://www.timescale.com: maintainer
镜像安全扫描 查看Trivy扫描报告

系统OS: alpine 3.18.3 扫描引擎: Trivy 扫描时间: 2025-01-22 14:39

低危漏洞:4 中危漏洞:66 高危漏洞:44 严重漏洞:8

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2023-08-17 15:00:09  24.69MB 执行命令并创建新的镜像层
RUN |2 OSS_ONLY= TS_VERSION=2.11.2 /bin/sh -c set -ex     && apk add libssl1.1     && 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                 krb5-dev                 libc-dev                 make                 cmake                 util-linux-dev         && cd /build/timescaledb && rm -fr build     && git checkout ${TS_VERSION}     && ./bootstrap -DCMAKE_BUILD_TYPE=RelWithDebInfo -DREGRESS_CHECKS=OFF -DTAP_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
                        
# 2023-08-17 14:56:15  0.00B 定义构建参数
ARG TS_VERSION
                        
# 2023-08-17 14:56:15  138.26MB 复制新文件或目录到容器中
COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
                        
# 2023-08-17 14:56:14  182.49MB 复制新文件或目录到容器中
COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
                        
# 2023-08-17 14:56:13  11.08MB 复制新文件或目录到容器中
COPY /go/bin/* /usr/local/bin/ # buildkit
                        
# 2023-08-17 14:55:11  5.19KB 复制新文件或目录到容器中
COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
                        
# 2023-08-17 14:55:11  0.00B 添加元数据标签
LABEL maintainer=Timescale https://www.timescale.com
                        
# 2023-08-17 14:55:11  0.00B 定义构建参数
ARG OSS_ONLY
                        
# 2023-08-12 03:08:24  0.00B 
/bin/sh -c #(nop)  CMD ["postgres"]
                        
# 2023-08-12 03:08:24  0.00B 
/bin/sh -c #(nop)  EXPOSE 5432
                        
# 2023-08-12 03:08:24  0.00B 
/bin/sh -c #(nop)  STOPSIGNAL SIGINT
                        
# 2023-08-12 03:08:24  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2023-08-12 03:08:24  12.49KB 
/bin/sh -c #(nop) COPY file:e635913e9467265f505455bc3f08bed37d67ce6597a1f10365f8faf79f09b654 in /usr/local/bin/ 
                        
# 2023-08-12 03:08:24  0.00B 
/bin/sh -c #(nop)  VOLUME [/var/lib/postgresql/data]
                        
# 2023-08-12 03:08:24  0.00B 
/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 1777 "$PGDATA"
                        
# 2023-08-12 03:08:23  0.00B 
/bin/sh -c #(nop)  ENV PGDATA=/var/lib/postgresql/data
                        
# 2023-08-12 03:08:23  0.00B 
/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 3777 /var/run/postgresql
                        
# 2023-08-12 03:08:23  53.34KB 
/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
                        
# 2023-08-12 03:08:22  222.84MB 
/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 		$DOCKER_PG_LLVM_DEPS 		bison 		coreutils 		dpkg-dev dpkg 		flex 		g++ 		gcc 		krb5-dev 		libc-dev 		libedit-dev 		libxml2-dev 		libxslt-dev 		linux-headers 		make 		openldap-dev 		openssl-dev 		perl-dev 		perl-ipc-run 		perl-utils 		python3-dev 		tcl-dev 		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'; 		export LLVM_CONFIG="/usr/lib/llvm15/bin/llvm-config"; 	export CLANG=clang-15; 		./configure 		--enable-option-checking=fatal 		--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-gssapi 		--with-ldap 		--with-tcl 		--with-perl 		--with-python 		--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 }' 			| grep -v -e perl -e python -e tcl 	)"; 	apk add --no-cache --virtual .postgresql-rundeps 		$runDeps 		bash 		su-exec 		tzdata 		zstd 		icu-data-full 		$([ "$(apk --print-arch)" != 'ppc64le' ] && echo 'nss_wrapper') 	; 	apk del --no-network .build-deps; 	cd /; 	rm -rf 		/usr/src/postgresql 		/usr/local/share/doc 		/usr/local/share/man 	; 		postgres --version
                        
# 2023-08-12 03:05:56  0.00B 
/bin/sh -c #(nop)  ENV DOCKER_PG_LLVM_DEPS=llvm15-dev 		clang15
                        
# 2023-08-12 03:05:56  0.00B 
/bin/sh -c #(nop)  ENV PG_SHA256=c5f1fff7a0f93e1ec3746417b0594290ece617b4995ed95b8d527af0ba0e38f3
                        
# 2023-08-12 03:05:56  0.00B 
/bin/sh -c #(nop)  ENV PG_VERSION=12.16
                        
# 2023-08-09 10:49:57  0.00B 
/bin/sh -c #(nop)  ENV PG_MAJOR=12
                        
# 2023-08-09 10:26:58  0.00B 
/bin/sh -c mkdir /docker-entrypoint-initdb.d
                        
# 2023-08-09 10:26:58  0.00B 
/bin/sh -c #(nop)  ENV LANG=en_US.utf8
                        
# 2023-08-09 10:26:58  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
                        
# 2023-08-08 03:20:20  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/sh"]
                        
# 2023-08-08 03:20:20  7.34MB 
/bin/sh -c #(nop) ADD file:32ff5e7a78b890996ee4681cc0a26185d3e9acdb4eb1e2aaccb2411f922fed6b in / 
                        
                    

镜像信息

{
    "Id": "sha256:618b48fc5342e34e4127402dfe100138de728aa8d8cd6561fd02c9523f456e33",
    "RepoTags": [
        "timescale/timescaledb:latest-pg12",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb:latest-pg12"
    ],
    "RepoDigests": [
        "timescale/timescaledb@sha256:645fd9e92d760673d49952710274f88cc4771ec5623e2bdfc976c53c0211954c",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb@sha256:97587c59ff1b8f21233f86d11af5f6d6af6ceeca75d291c753576e3f350add3a"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2023-08-17T07:00:09.807897378Z",
    "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=12",
            "PG_VERSION=12.16",
            "PG_SHA256=c5f1fff7a0f93e1ec3746417b0594290ece617b4995ed95b8d527af0ba0e38f3",
            "DOCKER_PG_LLVM_DEPS=llvm15-dev \t\tclang15",
            "PGDATA=/var/lib/postgresql/data"
        ],
        "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": 586773469,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/bfda579c12a6de6a219d858a0c628cdfb34926b7b040a12be56f155c0991e9f0/diff:/var/lib/docker/overlay2/e95144b1ff7efa32e59666700f179adfda915be0d3e0e528afc0a79b14064435/diff:/var/lib/docker/overlay2/787a32ed86fefcf08d5b2633be36c227ea21b2ed79ed3fb204259453953626e0/diff:/var/lib/docker/overlay2/54cdd276ab1294641a5687f681c23180b372a5ad72392a6a9e0e210afcd62516/diff:/var/lib/docker/overlay2/cfdef60e525ed66f769d555d397c7512ae8e50c1519179f213079483f6cebbd6/diff:/var/lib/docker/overlay2/e4aed27e5b0d21c7373b78a8bd286530c136e8771c8a13d5cf387f6f81ffccc1/diff:/var/lib/docker/overlay2/8e395077d0e57c8dcc5cd1c3fd08e15ad1d73ce19464b1e70770d37000c7c8ed/diff:/var/lib/docker/overlay2/bcc3b83593b92bb1cd13b9cc9380adc2c6e1ecf7c4b9d3f5c5e451c2ec481861/diff:/var/lib/docker/overlay2/7f4d54c616cec2f7211f3fcede9edd49d8b3aadfc06b9f4a737f1e06c692e565/diff:/var/lib/docker/overlay2/5048d4b20656698f9c5f3e4bbc4b11bdc46d63d9154f83be274aa39f9ba74680/diff:/var/lib/docker/overlay2/10252d798c99dc2e661663c12c177f0a8fc5298bf238b3a2c4c551997350a35a/diff:/var/lib/docker/overlay2/21d0fecf0aa234da8da00af26d6ce9669858d867b6b13e2301f70fbb70bfad83/diff",
            "MergedDir": "/var/lib/docker/overlay2/2268abc80cfb7cbd71a6c98175516187a99296f8539d8076931d4dc17f9023a5/merged",
            "UpperDir": "/var/lib/docker/overlay2/2268abc80cfb7cbd71a6c98175516187a99296f8539d8076931d4dc17f9023a5/diff",
            "WorkDir": "/var/lib/docker/overlay2/2268abc80cfb7cbd71a6c98175516187a99296f8539d8076931d4dc17f9023a5/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:4693057ce2364720d39e57e85a5b8e0bd9ac3573716237736d6470ec5b7b7230",
            "sha256:50df5bf6a7731c1f1b78b469a80e11f4a56bbd6d19b217e0a565abb8b11367a9",
            "sha256:0129a3a7da15e43a01355d3a949c685434362c1a42f7a669b18d859e11f34ef7",
            "sha256:06cab1787d5540e575c05f2b3d49105d1ef6ed9c451ce34d8699bf67588f9d36",
            "sha256:12367ade8ae7a6cd6a4e7abbf27dbfb72f6841d12d4d4a361cd2414a058a8e48",
            "sha256:8cdd8e8ab9d934c03d6fd2bc69ce8863cc3c8a82d27a667b30832beadb30b5d1",
            "sha256:5a71950afdba282d33b0ae37fb0ad98021a4050024d75de7570f1587f69cfd7b",
            "sha256:03a9f648b98fa3736309ef3aa2547c82a79a62a892017f24919b385b15025009",
            "sha256:194094b41f99864c204fff0d493826531e7c999f6b00c3a02e3fbc5b66330512",
            "sha256:d2b8990e1c9dca2c9afd626468208247410a57d0df04362161eaf7d4c6f2ff84",
            "sha256:c8bf980fdc97fa4c3cdadb3fb0f590f426f0098c5e7760b3905a340734a8e89c",
            "sha256:4e4db49d1901072c217e7d724e4a9494445597a6560b2f52936333b7d6d86eff",
            "sha256:51995c802c14f3d1b11e459b540fcdd1316b0843d852dad2388740bed1adba52"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-22T14:37:04.816260638+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
71

docker.io/timescale/timescaledb:latest-pg12

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

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