docker.io/postgis/postgis:13-3.1 linux/amd64

docker.io/postgis/postgis:13-3.1 - 国内下载镜像源 浏览次数:32
根据 Docker Hub 的信息,postgis/postgis 镜像的描述是:

PostGIS is a spatial database extender for PostgreSQL. It allows you to easily add support for geographic objects allowing you to store, retrieve, manipulate geospatial data.

(Note: I've only included the text content inside the HTML tags, without any styles)
源镜像 docker.io/postgis/postgis:13-3.1
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgis/postgis:13-3.1
镜像ID sha256:3a40ce4c6592655e0a6b04741db0139c14120d34d98b4844a3a3deb28968dc89
镜像TAG 13-3.1
大小 567.16MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD postgres
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/amd64
浏览量 32 次
贡献者 ha*******e@live.com
镜像创建 2021-12-20T05:27:20.001071046Z
同步时间 2025-03-19 15:44
更新时间 2025-04-01 02:23
开放端口
5432/tcp
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/13/bin GOSU_VERSION=1.14 LANG=en_US.utf8 PG_MAJOR=13 PG_VERSION=13.5-1.pgdg110+1 PGDATA=/var/lib/postgresql/data POSTGIS_MAJOR=3 POSTGIS_VERSION=3.1.4+dfsg-3.pgdg110+1
镜像标签
PostGIS Project - https://postgis.net: maintainer

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgis/postgis:13-3.1
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgis/postgis:13-3.1  docker.io/postgis/postgis:13-3.1

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgis/postgis:13-3.1
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgis/postgis:13-3.1  docker.io/postgis/postgis:13-3.1

Shell快速替换命令

sed -i 's#postgis/postgis:13-3.1#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgis/postgis:13-3.1#' deployment.yaml

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2021-12-20 13:27:20  1.04KB 
/bin/sh -c #(nop) COPY file:ac9e9890b9099e802b2b391049687555b8f22a663d84bd67629f1455d0430e02 in /usr/local/bin 
                        
# 2021-12-20 13:27:19  617.00B 
/bin/sh -c #(nop) COPY file:76bd441e221ac1acdd58e9412d0cc4ff810fb9c32520f87e4144545d018f4a1d in /docker-entrypoint-initdb.d/10_postgis.sh 
                        
# 2021-12-20 13:27:17  0.00B 
/bin/sh -c mkdir -p /docker-entrypoint-initdb.d
                        
# 2021-12-20 13:27:16  195.96MB 
/bin/sh -c apt-get update       && apt-cache showpkg postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR       && apt-get install -y --no-install-recommends            postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR=$POSTGIS_VERSION            postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR-scripts       && rm -rf /var/lib/apt/lists/*
                        
# 2021-12-20 13:26:57  0.00B 
/bin/sh -c #(nop)  ENV POSTGIS_VERSION=3.1.4+dfsg-3.pgdg110+1
                        
# 2021-12-20 13:26:56  0.00B 
/bin/sh -c #(nop)  ENV POSTGIS_MAJOR=3
                        
# 2021-12-20 13:26:55  0.00B 
/bin/sh -c #(nop)  LABEL maintainer=PostGIS Project - https://postgis.net
                        
# 2021-12-03 07:26:09  0.00B 
/bin/sh -c #(nop)  CMD ["postgres"]
                        
# 2021-12-03 07:26:08  0.00B 
/bin/sh -c #(nop)  EXPOSE 5432
                        
# 2021-12-03 07:26:08  0.00B 
/bin/sh -c #(nop)  STOPSIGNAL SIGINT
                        
# 2021-12-03 07:26:08  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2021-12-03 07:26:08  12.13KB 
/bin/sh -c #(nop) COPY file:6e4de9271291e4bdd4a40b73fffe4d6d1aeff033460f5b14d74e948686daa095 in /usr/local/bin/ 
                        
# 2021-12-03 07:26:07  0.00B 
/bin/sh -c #(nop)  VOLUME [/var/lib/postgresql/data]
                        
# 2021-12-03 07:26:07  0.00B 
/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 777 "$PGDATA"
                        
# 2021-12-03 07:26:06  0.00B 
/bin/sh -c #(nop)  ENV PGDATA=/var/lib/postgresql/data
                        
# 2021-12-03 07:26:06  0.00B 
/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql
                        
# 2021-12-03 07:26:05  56.70KB 
/bin/sh -c set -eux; 	dpkg-divert --add --rename --divert "/usr/share/postgresql/postgresql.conf.sample.dpkg" "/usr/share/postgresql/$PG_MAJOR/postgresql.conf.sample"; 	cp -v /usr/share/postgresql/postgresql.conf.sample.dpkg /usr/share/postgresql/postgresql.conf.sample; 	ln -sv ../postgresql.conf.sample "/usr/share/postgresql/$PG_MAJOR/"; 	sed -ri "s!^#?(listen_addresses)\s*=\s*\S+.*!\1 = '*'!" /usr/share/postgresql/postgresql.conf.sample; 	grep -F "listen_addresses = '*'" /usr/share/postgresql/postgresql.conf.sample
                        
# 2021-12-03 07:26:04  249.59MB 
/bin/sh -c set -ex; 		export PYTHONDONTWRITEBYTECODE=1; 		dpkgArch="$(dpkg --print-architecture)"; 	case "$dpkgArch" in 		amd64 | arm64 | ppc64el) 			echo "deb http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; 			apt-get update; 			;; 		*) 			echo "deb-src http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; 						tempDir="$(mktemp -d)"; 			cd "$tempDir"; 						savedAptMark="$(apt-mark showmanual)"; 						apt-get update; 			DEBIAN_FRONTEND=noninteractive 			apt-get build-dep -y 				postgresql-common pgdg-keyring 				"postgresql-$PG_MAJOR=$PG_VERSION" 			; 			DEB_BUILD_OPTIONS="nocheck parallel=$(nproc)" 				apt-get source --compile 					postgresql-common pgdg-keyring 					"postgresql-$PG_MAJOR=$PG_VERSION" 			; 						apt-mark showmanual | xargs apt-mark auto > /dev/null; 			apt-mark manual $savedAptMark; 						ls -lAFh; 			dpkg-scanpackages . > Packages; 			grep '^Package: ' 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 --no-install-recommends postgresql-common; 	sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf; 	apt-get install -y --no-install-recommends 		"postgresql-$PG_MAJOR=$PG_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; 		find /usr -name '*.pyc' -type f -exec bash -c 'for pyc; do dpkg -S "$pyc" &> /dev/null || rm -vf "$pyc"; done' -- '{}' +; 		postgres --version
                        
# 2021-12-03 07:25:41  0.00B 
/bin/sh -c #(nop)  ENV PG_VERSION=13.5-1.pgdg110+1
                        
# 2021-12-03 07:25:41  0.00B 
/bin/sh -c #(nop)  ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/13/bin
                        
# 2021-12-03 07:25:40  0.00B 
/bin/sh -c #(nop)  ENV PG_MAJOR=13
                        
# 2021-12-03 07:24:43  2.88KB 
/bin/sh -c set -ex; 	key='B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8'; 	export GNUPGHOME="$(mktemp -d)"; 	gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; 	gpg --batch --export "$key" > /etc/apt/trusted.gpg.d/postgres.gpg; 	command -v gpgconf > /dev/null && gpgconf --kill all; 	rm -rf "$GNUPGHOME"; 	apt-key list
                        
# 2021-12-03 07:24:32  0.00B 
/bin/sh -c mkdir /docker-entrypoint-initdb.d
                        
# 2021-12-03 07:24:30  1.60MB 
/bin/sh -c set -eux; 	apt-get update; 	apt-get install -y --no-install-recommends 		libnss-wrapper 		xz-utils 	; 	rm -rf /var/lib/apt/lists/*
                        
# 2021-12-03 07:24:22  0.00B 
/bin/sh -c #(nop)  ENV LANG=en_US.utf8
                        
# 2021-12-03 07:24:22  25.10MB 
/bin/sh -c set -eux; 	if [ -f /etc/dpkg/dpkg.cfg.d/docker ]; then 		grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; 		sed -ri '/\/usr\/share\/locale/d' /etc/dpkg/dpkg.cfg.d/docker; 		! grep -q '/usr/share/locale' /etc/dpkg/dpkg.cfg.d/docker; 	fi; 	apt-get update; apt-get install -y --no-install-recommends locales; rm -rf /var/lib/apt/lists/*; 	localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
                        
# 2021-12-03 07:24:15  4.16MB 
/bin/sh -c set -eux; 	savedAptMark="$(apt-mark showmanual)"; 	apt-get update; 	apt-get install -y --no-install-recommends ca-certificates wget; 	rm -rf /var/lib/apt/lists/*; 	dpkgArch="$(dpkg --print-architecture | awk -F- '{ print $NF }')"; 	wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch"; 	wget -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$dpkgArch.asc"; 	export GNUPGHOME="$(mktemp -d)"; 	gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4; 	gpg --batch --verify /usr/local/bin/gosu.asc /usr/local/bin/gosu; 	gpgconf --kill all; 	rm -rf "$GNUPGHOME" /usr/local/bin/gosu.asc; 	apt-mark auto '.*' > /dev/null; 	[ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; 	apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; 	chmod +x /usr/local/bin/gosu; 	gosu --version; 	gosu nobody true
                        
# 2021-12-03 07:24:05  0.00B 
/bin/sh -c #(nop)  ENV GOSU_VERSION=1.14
                        
# 2021-12-03 07:24:05  328.59KB 
/bin/sh -c set -eux; 	groupadd -r postgres --gid=999; 	useradd -r -g postgres --uid=999 --home-dir=/var/lib/postgresql --shell=/bin/bash postgres; 	mkdir -p /var/lib/postgresql; 	chown -R postgres:postgres /var/lib/postgresql
                        
# 2021-12-03 07:24:04  9.96MB 
/bin/sh -c set -ex; 	if ! command -v gpg > /dev/null; then 		apt-get update; 		apt-get install -y --no-install-recommends 			gnupg 			dirmngr 		; 		rm -rf /var/lib/apt/lists/*; 	fi
                        
# 2021-12-02 10:48:21  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2021-12-02 10:48:20  80.39MB 
/bin/sh -c #(nop) ADD file:ece5ff85ca549f0b1e9139d29dcb43a52af672d0591c423e28180f6d8d700ad7 in / 
                        
                    

镜像信息

{
    "Id": "sha256:3a40ce4c6592655e0a6b04741db0139c14120d34d98b4844a3a3deb28968dc89",
    "RepoTags": [
        "postgis/postgis:13-3.1",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgis/postgis:13-3.1"
    ],
    "RepoDigests": [
        "postgis/postgis@sha256:ec995cadee05ab51dcee4771c7781336fa49456c24b742ab9eb811f9bab195d6",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgis/postgis@sha256:ec995cadee05ab51dcee4771c7781336fa49456c24b742ab9eb811f9bab195d6"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2021-12-20T05:27:20.001071046Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.11+azure-3",
    "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:/usr/lib/postgresql/13/bin",
            "GOSU_VERSION=1.14",
            "LANG=en_US.utf8",
            "PG_MAJOR=13",
            "PG_VERSION=13.5-1.pgdg110+1",
            "PGDATA=/var/lib/postgresql/data",
            "POSTGIS_MAJOR=3",
            "POSTGIS_VERSION=3.1.4+dfsg-3.pgdg110+1"
        ],
        "Cmd": [
            "postgres"
        ],
        "Image": "sha256:e1441693755943aaf92822f301360d2107f63257777f43bce39fbe285c5234e3",
        "Volumes": {
            "/var/lib/postgresql/data": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": {
            "maintainer": "PostGIS Project - https://postgis.net"
        },
        "StopSignal": "SIGINT"
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 567164010,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/915c9f61a78b91edca2c6b730cc3854e5f05f3e4f69fcb3552908f5d182266d3/diff:/var/lib/docker/overlay2/803b42d59e4428553d7d4b5c40f70f26e062c6c22a6da6f26ade064d179ccc47/diff:/var/lib/docker/overlay2/8968deb7547803650f5b76529788ac5e33b472800f43e9a5a23b075bcf99197d/diff:/var/lib/docker/overlay2/868be9fdcfd85af0359a8f5b4442a124cd52ac8997a19ef5d1006188386ee299/diff:/var/lib/docker/overlay2/67e8e5a1deb33be02a8dfa990b369f717017a29ec9636c78926f6ff8d0156e13/diff:/var/lib/docker/overlay2/f1545b2b91ced220d91e56b7c406a68719085324ddd5f2f6a2b8c584c6e22421/diff:/var/lib/docker/overlay2/648194185df4aaf9dc57044ac9d142d7d6a929d40ca626a81385637e020b80c8/diff:/var/lib/docker/overlay2/f1401398675687306f2f422001d2e2cf760f380df0783a06c0d5a5c50bff20ad/diff:/var/lib/docker/overlay2/e9df75953745761898022e8db9468e39e6efbda08df41cacfb8dcab951d38dfc/diff:/var/lib/docker/overlay2/6654ed4a090f4ba2c64f36243062d826a81933a9d5165cccfce41ea75fe9d959/diff:/var/lib/docker/overlay2/e67f83d39eff6126f63b02a51ae91ddb0c9177e58aa4d46b3f2441056920f345/diff:/var/lib/docker/overlay2/67ccf2901635b785ff5aef9fbdfc00c06c5fad9ed174e0fd485302c159696d6a/diff:/var/lib/docker/overlay2/884d8b1143a1b696e883cdd778b189dc388d60d8fcb5fea2df3e852a0a82421e/diff:/var/lib/docker/overlay2/ea04a337cb60e4e36062b0f64ce7b3c8c5638a34d4e791dd40db6d22d31e876f/diff:/var/lib/docker/overlay2/42e8aa3060bd1548a524ae1a3b03940285e84e996e6c28159d2a105496e28283/diff",
            "MergedDir": "/var/lib/docker/overlay2/fa62f1a68c5a92c6a43840a9ebe576a6cc1743c46744ad381c9b3a903b1c8129/merged",
            "UpperDir": "/var/lib/docker/overlay2/fa62f1a68c5a92c6a43840a9ebe576a6cc1743c46744ad381c9b3a903b1c8129/diff",
            "WorkDir": "/var/lib/docker/overlay2/fa62f1a68c5a92c6a43840a9ebe576a6cc1743c46744ad381c9b3a903b1c8129/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:9321ff862abbe8e1532076e5fdc932371eff562334ac86984a836d77dfb717f5",
            "sha256:1fd9b284a3ce6750b46ac36ffb90e34ba316d2304efd8848522169dd4f91da9a",
            "sha256:e408a39a0b683cf94d3bd462c176acfa4c56b333ec6d9737aed6c616765c920d",
            "sha256:8083ac6c7a074d27747cacb51e7ce4c6f5140ce83e4bfe9a6fd387a01ae9aae4",
            "sha256:16bdcb6f65a3a864696fced98d103001692074a85009668de5d5298ec9693a05",
            "sha256:470529a805d0ed430ae9d55de39e7b2c3eae4b6f41d9041ebc13da3c40dc358e",
            "sha256:51e951dc5705e92cadc32dae632c6019398b246fae520b487d688e66c43c569a",
            "sha256:27051a077cdcc043249c5fdf83c2451b87a3734288b619fc29fdb9116f8cf759",
            "sha256:c8087cf663e09aeeb7f9836b4191e438da2a2c78c474a1b65396ca160789eda3",
            "sha256:d8676447337dbc0495614d99c2c778fc69fcf8fe8788728ad3699ca46baa312c",
            "sha256:0c1cc1e5ffdb0ad59630ca30bd6d26acdff320c16e81f45f9e78a42e64470da1",
            "sha256:8f788a1ebf9dcb046647f58dfb60a75381d44f6915a47c037bbb96268b384c73",
            "sha256:0ec4b80272b4a86ecc9d28494905821877a964e320442069af05832c171fb97b",
            "sha256:17acedcd6c9b1426fad2b8390f5d59a36561c319f0de59f63eb91a54c9461c55",
            "sha256:ca206d09fa68d4d28b1c2e82b3589d226746a594a55a59c1b91357b0ad6ddc9f",
            "sha256:9c6b958a4944debeca41e223cbb8390ee292e2f8cc992d0d9db6284ba2f9a75a"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-03-19T15:44:08.013060878+08:00"
    }
}

更多版本

docker.io/postgis/postgis:12-3.4

linux/amd64 docker.io595.59MB2024-06-25 09:35
409

docker.io/postgis/postgis:14-3.4-alpine

linux/amd64 docker.io447.68MB2024-08-01 15:51
363

docker.io/postgis/postgis:13-master

linux/amd64 docker.io551.37MB2024-09-25 08:51
185

docker.io/postgis/postgis:11-2.5-alpine

linux/amd64 docker.io351.41MB2024-12-23 16:01
92

docker.io/postgis/postgis:14-3.1

linux/amd64 docker.io570.07MB2025-01-06 21:08
85

docker.io/postgis/postgis:14-3.5

linux/amd64 docker.io623.06MB2025-01-07 15:25
147

docker.io/postgis/postgis:17-3.5-alpine

linux/amd64 docker.io487.66MB2025-01-21 09:11
81

docker.io/postgis/postgis:17-3.5

linux/amd64 docker.io635.97MB2025-01-21 09:15
120

docker.io/postgis/postgis:15-3.5

linux/amd64 docker.io681.79MB2025-02-19 16:40
95

docker.io/postgis/postgis:13-3.1

linux/amd64 docker.io567.16MB2025-03-19 15:44
31

docker.io/postgis/postgis:11-3.0

linux/amd64 docker.io426.75MB2025-03-26 09:58
33