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

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

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

源镜像 docker.io/timescale/timescaledb-postgis:latest-pg13
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb-postgis:latest-pg13
镜像ID sha256:bf76e5594c984c7f4146d015f9c37de31d400f89eb296b1b0d0b96b86ab1fabe
镜像TAG latest-pg13
大小 308.37MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD postgres
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 11 次
贡献者 zf********4@outlook.com
镜像创建 2021-05-25T16:27:32.747017639Z
同步时间 2025-06-27 16:37
更新时间 2025-06-28 03:48
开放端口
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=13 PG_VERSION=13.3 PG_SHA256=3cd9454fa8c7a6255b6743b767700925ead1b9ab0d7a0f9dcb1151010f8eb4a1 PGDATA=/var/lib/postgresql/data TIMESCALEDB_VERSION=2.3.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:latest-pg13
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb-postgis:latest-pg13  docker.io/timescale/timescaledb-postgis:latest-pg13

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2021-05-26 00:27:32  125.44MB 
/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-05-26 00:24:43  0.00B 
/bin/sh -c #(nop)  ENV POSTGIS_VERSION=2.5.5
                        
# 2021-05-26 00:24:42  0.00B 
/bin/sh -c #(nop)  ARG POSTGIS_VERSION
                        
# 2021-05-26 00:24:41  0.00B 
/bin/sh -c #(nop)  LABEL maintainer=Timescale https://www.timescale.com
                        
# 2021-05-26 00:02:06  6.65MB 执行命令并创建新的镜像层
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-05-25 23:59:08  504.71KB 复制新文件或目录到容器中
COPY /usr/local/share/postgresql/extension/timescaledb--*.sql /usr/local/share/postgresql/extension/ # buildkit
                        
# 2021-05-25 23:59:07  5.18MB 复制新文件或目录到容器中
COPY /usr/local/lib/postgresql/timescaledb-*.so /usr/local/lib/postgresql/ # buildkit
                        
# 2021-05-25 23:59:07  11.06MB 复制新文件或目录到容器中
COPY /go/bin/* /usr/local/bin/ # buildkit
                        
# 2021-05-25 23:58:31  5.15KB 复制新文件或目录到容器中
COPY docker-entrypoint-initdb.d/* /docker-entrypoint-initdb.d/ # buildkit
                        
# 2021-05-25 23:58:31  0.00B 设置环境变量 TIMESCALEDB_VERSION
ENV TIMESCALEDB_VERSION=2.3.0
                        
# 2021-05-25 23:58:31  0.00B 添加元数据标签
LABEL maintainer=Timescale https://www.timescale.com
                        
# 2021-05-25 23:58:31  0.00B 定义构建参数
ARG OSS_ONLY
                        
# 2021-05-15 03:43:31  0.00B 
/bin/sh -c #(nop)  CMD ["postgres"]
                        
# 2021-05-15 03:43:31  0.00B 
/bin/sh -c #(nop)  EXPOSE 5432
                        
# 2021-05-15 03:43:31  0.00B 
/bin/sh -c #(nop)  STOPSIGNAL SIGINT
                        
# 2021-05-15 03:43:30  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2021-05-15 03:43:30  11.31KB 
/bin/sh -c #(nop) COPY file:ad28506adc606e446eefc263bc99d4cb809e608d4f550956143bf13c82c91f85 in /usr/local/bin/ 
                        
# 2021-05-15 03:43:30  0.00B 
/bin/sh -c #(nop)  VOLUME [/var/lib/postgresql/data]
                        
# 2021-05-15 03:43:30  0.00B 
/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA"
                        
# 2021-05-15 03:43:29  0.00B 
/bin/sh -c #(nop)  ENV PGDATA=/var/lib/postgresql/data
                        
# 2021-05-15 03:43:28  0.00B 
/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql
                        
# 2021-05-15 03:43:27  27.92KB 
/bin/sh -c sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/local/share/postgresql/postgresql.conf.sample
                        
# 2021-05-15 03:43:26  153.86MB 
/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-05-15 03:37:00  0.00B 
/bin/sh -c #(nop)  ENV PG_SHA256=3cd9454fa8c7a6255b6743b767700925ead1b9ab0d7a0f9dcb1151010f8eb4a1
                        
# 2021-05-15 03:37:00  0.00B 
/bin/sh -c #(nop)  ENV PG_VERSION=13.3
                        
# 2021-04-15 11:44:33  0.00B 
/bin/sh -c #(nop)  ENV PG_MAJOR=13
                        
# 2021-04-15 11:44:33  0.00B 
/bin/sh -c mkdir /docker-entrypoint-initdb.d
                        
# 2021-04-15 11:44:32  0.00B 
/bin/sh -c #(nop)  ENV LANG=en_US.utf8
                        
# 2021-04-15 11:44:32  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-15 03:19:39  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/sh"]
                        
# 2021-04-15 03:19:39  5.61MB 
/bin/sh -c #(nop) ADD file:8ec69d882e7f29f0652d537557160e638168550f738d0d49f90a7ef96bf31787 in / 
                        
                    

镜像信息

{
    "Id": "sha256:bf76e5594c984c7f4146d015f9c37de31d400f89eb296b1b0d0b96b86ab1fabe",
    "RepoTags": [
        "timescale/timescaledb-postgis:latest-pg13",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb-postgis:latest-pg13"
    ],
    "RepoDigests": [
        "timescale/timescaledb-postgis@sha256:7a742a575416eafd8479dcac205846797583bc1bd53c18ffaf707f40bbe9b03e",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/timescale/timescaledb-postgis@sha256:7a742a575416eafd8479dcac205846797583bc1bd53c18ffaf707f40bbe9b03e"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2021-05-25T16:27:32.747017639Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.6+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=13",
            "PG_VERSION=13.3",
            "PG_SHA256=3cd9454fa8c7a6255b6743b767700925ead1b9ab0d7a0f9dcb1151010f8eb4a1",
            "PGDATA=/var/lib/postgresql/data",
            "TIMESCALEDB_VERSION=2.3.0",
            "POSTGIS_VERSION=2.5.5"
        ],
        "Cmd": [
            "postgres"
        ],
        "Image": "sha256:cc0bce9112c7a0d985c2375331e63d8b256558bd331818798a0eb7e88268f0f1",
        "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": 308369610,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/974e43ae5bb410c4ae8cb0518e1bdb5597e1e541bef6a24c9eb9dfabfa3a93ef/diff:/var/lib/docker/overlay2/228b4dc17cafd27b665f41066697675f189672b82f595c41d127803ade7f096d/diff:/var/lib/docker/overlay2/b7b8b629dc5e4e81305add0b101ca244d00eab4b5b1a5c9b9c2460db47b8f340/diff:/var/lib/docker/overlay2/28d27f1e8bfab4953f516cb76be917f27249cb3663b009919b10e8de63c4f644/diff:/var/lib/docker/overlay2/8db4865a0af58f45c3d2ff5e6f2e895249e670e0c481ab3d0fa62cf430d2b35d/diff:/var/lib/docker/overlay2/34c1dfb07a78e35ac1ad00477609c57ca34ea0ffb5883e2cf7d7b86348254f52/diff:/var/lib/docker/overlay2/192309b1d276d23d213c7baa4f70c539f75f26e508b62751b267e6e0cf7b808d/diff:/var/lib/docker/overlay2/98b4165820867e2905b2c55cd378f626edaaaff0a4baf9c77b60b01983da3aef/diff:/var/lib/docker/overlay2/5329b41a3dbedd0cff614daa5a3c4e2b40f400f9b6303a1ad60ce5907ad4acb6/diff:/var/lib/docker/overlay2/63dad326d5712d17bcc88228d6802cd7375b594ac2b56a1ec8828decd699f62c/diff:/var/lib/docker/overlay2/df8062abe3356e6fa0a48b338827be7ef00ab43ec42578280eecffde77ed3403/diff:/var/lib/docker/overlay2/98921978c4f50bd0ac0776c3260bdd1e23d103e2068ea1f2ae1d38a788655fbd/diff:/var/lib/docker/overlay2/7061683e0c38fcafe457ed871e71e7fe1b5cb03e7a90fa7b334bcd80048fcf8b/diff",
            "MergedDir": "/var/lib/docker/overlay2/b0f462ca81917d7ca424bf6f402fb1bb0e743b1bc8b75c3465e14c9c1e2d1e4a/merged",
            "UpperDir": "/var/lib/docker/overlay2/b0f462ca81917d7ca424bf6f402fb1bb0e743b1bc8b75c3465e14c9c1e2d1e4a/diff",
            "WorkDir": "/var/lib/docker/overlay2/b0f462ca81917d7ca424bf6f402fb1bb0e743b1bc8b75c3465e14c9c1e2d1e4a/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:b2d5eeeaba3a22b9b8aa97261957974a6bd65274ebd43e1d81d0a7b8b752b116",
            "sha256:14b570d7a00500e1deb9971903b9cc08e9f2ca73b4bccf9b3512c10a1a00f90f",
            "sha256:14aebbb8205d74f2bb3789954f12cb318bb2c54fe59ef4721b6c671d6593e77f",
            "sha256:ee4477d01dbc64c0ee8ee837ef77a8307809eeca6092e2c5d6777cd01314c7f0",
            "sha256:8720e28d09f93c105f88890b5c50c85abffdafd3831dd8a426a6f8fbd1d44bbd",
            "sha256:19943c58897b75b529a5e9ebdcf629fcfa791e1d1fae65068a68485c5ccfd5e8",
            "sha256:e45357d4dada167fe2fe1eb500d410b929553a332d442b9f80c33879161f579b",
            "sha256:3995ac9d5afe890071b287a86a180d2ffa8c8a0dd8e3a39433d27de42561af40",
            "sha256:f9ed8082f040377832d4b4f5eb89f5179d6017308f22500329a8eff520773af2",
            "sha256:f57ad54ded6de295a85c9024828f515620f20a55cb7db5b48774ca7fe0b6473c",
            "sha256:0c987297dd695135626816b611750b9c17e0bc5bbabbce5d04d1354c5711117f",
            "sha256:fcb9ecb3240e9a7173ec498e0e39734ea6e62fe83422e8dd372a94d6edbbcfb1",
            "sha256:302b536eac46b7f2fd5de9f422ce71fa382b8ccb76a62788a3c3f209e5bb92bf",
            "sha256:ccb6d154e7f722c57f144248c3097959c1b43bad000ab1987baabb53319a9632"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-06-27T16:36:56.252023833+08:00"
    }
}

更多版本

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

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

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

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