docker.io/timescale/timescaledb-postgis:2.1.0-pg11 linux/amd64

docker.io/timescale/timescaledb-postgis:2.1.0-pg11 - 国内下载镜像源 浏览次数:24
源镜像 docker.io/timescale/timescaledb-postgis:2.1.0-pg11
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb-postgis:2.1.0-pg11
镜像ID sha256:4f93212044cfcbd36b972ce965db40e1e78baff860f3b989e7ffa4d585ea7d0a
镜像TAG 2.1.0-pg11
大小 313.30MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD postgres
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 24 次
贡献者 wa**********c@163.com
镜像创建 2021-04-11T03:04:56.948231954Z
同步时间 2025-09-11 12:01
更新时间 2025-09-15 08:26
开放端口
5432/tcp
目录挂载
/var/lib/postgresql/data
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=en_US.utf8 PG_MAJOR=11 PG_VERSION=11.11 PG_SHA256=40607b7fa15b7d63f5075a7277daf7b3412486aa5db3aedffdb7768b9298186c PGDATA=/var/lib/postgresql/data TIMESCALEDB_VERSION=2.1.0 POSTGIS_VERSION=2.5.5
镜像标签
Timescale https://www.timescale.com: maintainer

Docker拉取命令

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2021-04-11 11:04:56  125.14MB 
/bin/sh -c set -ex     && apk add --no-cache --virtual .fetch-deps                 ca-certificates                 openssl                 tar     && apk add --no-cache --virtual .build-deps         autoconf         automake         file         json-c-dev         libtool         libxml2-dev         make         perl         llvm         clang         clang-dev         g++         gdal-dev         geos-dev         proj-dev         protobuf-c-dev     && cd /tmp     && wget https://github.com/postgis/postgis/archive/${POSTGIS_VERSION}.tar.gz -O - | tar -xz     && chown root:root -R postgis-${POSTGIS_VERSION}     && cd /tmp/postgis-${POSTGIS_VERSION}     && ./autogen.sh     && ./configure     && echo "PERL = /usr/bin/perl" >> extensions/postgis/Makefile     && echo "PERL = /usr/bin/perl" >> extensions/postgis_topology/Makefile     && make -s     && make -s install     && apk add --no-cache --virtual .postgis-rundeps         json-c         geos         gdal         proj         protobuf-c         libstdc++     && cd /     && rm -rf /tmp/postgis-${POSTGIS_VERSION}     && apk del .fetch-deps .build-deps
                        
# 2021-04-11 11:02:03  0.00B 
/bin/sh -c #(nop)  ENV POSTGIS_VERSION=2.5.5
                        
# 2021-04-11 11:02:02  0.00B 
/bin/sh -c #(nop)  ARG POSTGIS_VERSION
                        
# 2021-04-11 11:02:01  0.00B 
/bin/sh -c #(nop)  LABEL maintainer=Timescale https://www.timescale.com
                        
# 2021-04-11 10:43:45  5.84MB 执行命令并创建新的镜像层
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 -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-04-11 10:40:54  1.43MB 复制新文件或目录到容器中
COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
                        
# 2021-04-11 10:40:54  13.45MB 复制新文件或目录到容器中
COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
                        
# 2021-04-11 10:40:53  11.06MB 复制新文件或目录到容器中
COPY /go/bin/* /usr/local/bin/ # buildkit
                        
# 2021-04-11 10:40:19  5.15KB 复制新文件或目录到容器中
COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
                        
# 2021-04-11 10:40:19  0.00B 设置环境变量 TIMESCALEDB_VERSION
ENV TIMESCALEDB_VERSION=2.1.0
                        
# 2021-04-11 10:40:19  0.00B 添加元数据标签
LABEL maintainer=Timescale https://www.timescale.com
                        
# 2021-04-11 10:40:19  0.00B 定义构建参数
ARG OSS_ONLY
                        
# 2021-04-02 01:15:27  0.00B 
/bin/sh -c #(nop)  CMD ["postgres"]
                        
# 2021-04-02 01:15:27  0.00B 
/bin/sh -c #(nop)  EXPOSE 5432
                        
# 2021-04-02 01:15:27  0.00B 
/bin/sh -c #(nop)  STOPSIGNAL SIGINT
                        
# 2021-04-02 01:15:27  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2021-04-02 01:15:26  34.00B 
/bin/sh -c ln -s usr/local/bin/docker-entrypoint.sh / # backwards compat
                        
# 2021-04-02 01:15:25  11.31KB 
/bin/sh -c #(nop) COPY file:ad28506adc606e446eefc263bc99d4cb809e608d4f550956143bf13c82c91f85 in /usr/local/bin/ 
                        
# 2021-04-02 01:15:25  0.00B 
/bin/sh -c #(nop)  VOLUME [/var/lib/postgresql/data]
                        
# 2021-04-02 01:15:25  0.00B 
/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA"
                        
# 2021-04-02 01:15:24  0.00B 
/bin/sh -c #(nop)  ENV PGDATA=/var/lib/postgresql/data
                        
# 2021-04-02 01:15:24  0.00B 
/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql
                        
# 2021-04-02 01:15:23  23.91KB 
/bin/sh -c sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample
                        
# 2021-04-02 01:15:21  150.72MB 
/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 		llvm10-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-04-02 01:10:41  0.00B 
/bin/sh -c #(nop)  ENV PG_SHA256=40607b7fa15b7d63f5075a7277daf7b3412486aa5db3aedffdb7768b9298186c
                        
# 2021-04-02 01:10:40  0.00B 
/bin/sh -c #(nop)  ENV PG_VERSION=11.11
                        
# 2021-04-02 01:10:40  0.00B 
/bin/sh -c #(nop)  ENV PG_MAJOR=11
                        
# 2021-04-02 01:00:28  0.00B 
/bin/sh -c mkdir /docker-entrypoint-initdb.d
                        
# 2021-04-02 01:00:27  0.00B 
/bin/sh -c #(nop)  ENV LANG=en_US.utf8
                        
# 2021-04-02 01:00:27  4.68KB 
/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-04-01 04:10:06  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/sh"]
                        
# 2021-04-01 04:10:06  5.61MB 
/bin/sh -c #(nop) ADD file:7119167b56ff1228b2fb639c768955ce9db7a999cd947179240b216dfa5ccbb9 in / 
                        
                    

镜像信息

{
    "Id": "sha256:4f93212044cfcbd36b972ce965db40e1e78baff860f3b989e7ffa4d585ea7d0a",
    "RepoTags": [
        "timescale/timescaledb-postgis:2.1.0-pg11",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb-postgis:2.1.0-pg11"
    ],
    "RepoDigests": [
        "timescale/timescaledb-postgis@sha256:b76872ec6691a194dc0197151321bf34d31d0196c74592ba25c66eb1806958aa",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb-postgis@sha256:b76872ec6691a194dc0197151321bf34d31d0196c74592ba25c66eb1806958aa"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2021-04-11T03:04:56.948231954Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.5+azure",
    "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.11",
            "PG_SHA256=40607b7fa15b7d63f5075a7277daf7b3412486aa5db3aedffdb7768b9298186c",
            "PGDATA=/var/lib/postgresql/data",
            "TIMESCALEDB_VERSION=2.1.0",
            "POSTGIS_VERSION=2.5.5"
        ],
        "Cmd": [
            "postgres"
        ],
        "Image": "sha256:80c9ed4145e5bb8822d0e060c9fcf7b5204cf73d753b683ec2fc934fb2636523",
        "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": 313295543,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/d9923171c661c1a3295c53501ee6396c5510ec88d9a6e0684c902dea473f681f/diff:/var/lib/docker/overlay2/b58d32b3adab62f0f8a8b5ab5180583fac625a6f4f3ce9a58b7015a6940dd6de/diff:/var/lib/docker/overlay2/5fe1e9344c0ea601fcc5c84f3c66d7779897bdfd6de4da3c1b5edb35dd0394d1/diff:/var/lib/docker/overlay2/b98587ac1c23b018710a5a55e52bd5cffbe2ed6c1eaf8f006d379eaf572b1e7c/diff:/var/lib/docker/overlay2/9e1b30787df6d7597f81d02bb6c99f1682acfce7775a029619f6d6a6346a8d95/diff:/var/lib/docker/overlay2/893ac452e22759e6aeb92cf44c39ddff56a88941014d4cfe83181e8762facc73/diff:/var/lib/docker/overlay2/37a86181f95aed4d730ae7fdeb00a2cc0793882f02528edfb0cff1c0b8557b4a/diff:/var/lib/docker/overlay2/1c10f9add65909c78d0407eb5f1c51ec3c187fb45ad6bf49671fc5bb2f4824d9/diff:/var/lib/docker/overlay2/648cd2a52104189dafe328f4090810f73e5f88789485bf35dd52631e63f092f9/diff:/var/lib/docker/overlay2/0a770429019d92b963ee87ebd199cd0e8a7eb16cffa0ff0f42a3c54babb5cc23/diff:/var/lib/docker/overlay2/7860cdc7a2a512430e3825da1ae85318ac5e610a7f369707ce89884ddcc2e9c0/diff:/var/lib/docker/overlay2/80f8d5d0d59aaa8384b5239ae2da478a9c658cf6f812c727470f3451b2ffe07e/diff:/var/lib/docker/overlay2/50d0b809536bb7964ce4f9725021b842a39cd8296a3b179263002c5a2b05fbf2/diff:/var/lib/docker/overlay2/2dce1ae07ae9370c55f9637bcbc6dc52bfb2f23da9b2178a43be1ff5c77e1c65/diff",
            "MergedDir": "/var/lib/docker/overlay2/805ce310b72c6bd8c0721cd626d513016dd83d7e569325e6be278162d4d6628e/merged",
            "UpperDir": "/var/lib/docker/overlay2/805ce310b72c6bd8c0721cd626d513016dd83d7e569325e6be278162d4d6628e/diff",
            "WorkDir": "/var/lib/docker/overlay2/805ce310b72c6bd8c0721cd626d513016dd83d7e569325e6be278162d4d6628e/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:8ea3b23f387bedc5e3cee574742d748941443c328a75f511eb37b0d8b6164130",
            "sha256:d5b7ea50d4cd890e43dc40302dd43f637c80bf34e251c354b90d576460eedea3",
            "sha256:66650e206e6c90a45f59ac7760ad1f1c3cd94337973b7e114a0d3cc990f1b4d3",
            "sha256:571cd6ca9c3d904241497d8850c00b6fb132c9e0ee5e7d6a93ba05a11444a6aa",
            "sha256:b3188979d179ff943a9a093e0b84f07a7affcb4a4b1759ba25466420cf77a21a",
            "sha256:fe94d17407482d80d7748455c941ab33a0d0059c418d0f45bd38b31372ea752d",
            "sha256:b51bce55f9330e98c9fca417905f6b6b8c4f1f454dc4dc3407f329dce2042482",
            "sha256:c92d877bd09d97fc1b65460ca7b7bf78452fafc3120df5666059c0fffca822a7",
            "sha256:b925961ac108e9b4c6530a98aebd55a142b507ea7f22265520eee58c493ece44",
            "sha256:87df3f26764715b60183d436eb91a38b3d284d28a6653eb51f2b0f08af7874a3",
            "sha256:ec7217f94873f34817a5c669161661e02037e0df50c17a9645622421324154e5",
            "sha256:a34da216014d5a12bcb9338822766dbc1dc8a7225cd73a91d8160f55e9509a6d",
            "sha256:4139222779129ccafaa267ebf2eb72be1f9b424e5ba8f7c1392ec040649d0772",
            "sha256:d5bd6fc5c6a5868c9b82ca79f564d11afc0bc07c21f36dbb0ae11b26a4ed9c52",
            "sha256:5a5941b7fb63ae464cf1b9c5f008742dd4e83151a1182afebd85f6bda3eca14b"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-09-11T12:01:01.178228474+08:00"
    }
}

更多版本

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

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

docker.io/timescale/timescaledb-postgis:latest-pg13

linux/amd64 docker.io308.37MB2025-06-27 16:37
131

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

linux/amd64 docker.io313.30MB2025-09-11 12:01
23