docker.io/postgres:15.2-alpine linux/arm64

docker.io/postgres:15.2-alpine - 国内下载镜像源 浏览次数:29 安全受验证的发布者-Postgres 温馨提示: 这是一个 linux/arm64 系统架构镜像
PostgreSQL 是一个开源的关系数据库管理系统(RDBMS),提供了传输控制协议(TCP)上的 PostgreSQL 服务。该镜像支持多种操作系统和存储引擎,方便开发、测试和部署应用程序。
源镜像 docker.io/postgres:15.2-alpine
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:15.2-alpine-linuxarm64
镜像ID sha256:d9d449b64180c58414326ad6f6e8650d50a0830c350c23f3607ee97594a93ddb
镜像TAG 15.2-alpine-linuxarm64
大小 241.47MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD postgres
启动入口 docker-entrypoint.sh
工作目录
OS/平台 linux/arm64
浏览量 29 次
贡献者 wu***6@foxmail.com
镜像创建 2023-03-30T05:19:22.93486772Z
同步时间 2025-04-27 09:20
更新时间 2025-05-10 07:03
开放端口
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=15 PG_VERSION=15.2 PG_SHA256=99a2171fc3d6b5b5f56b757a7a3cb85d509a38e4273805def23941ed2b8468c7 PGDATA=/var/lib/postgresql/data

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:15.2-alpine-linuxarm64
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:15.2-alpine-linuxarm64  docker.io/postgres:15.2-alpine

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:15.2-alpine-linuxarm64
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:15.2-alpine-linuxarm64  docker.io/postgres:15.2-alpine

Shell快速替换命令

sed -i 's#postgres:15.2-alpine#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:15.2-alpine-linuxarm64#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:15.2-alpine-linuxarm64 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:15.2-alpine-linuxarm64  docker.io/postgres:15.2-alpine'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:15.2-alpine-linuxarm64 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:15.2-alpine-linuxarm64  docker.io/postgres:15.2-alpine'

镜像构建历史


# 2023-03-30 13:19:22  0.00B 
/bin/sh -c #(nop)  CMD ["postgres"]
                        
# 2023-03-30 13:19:22  0.00B 
/bin/sh -c #(nop)  EXPOSE 5432
                        
# 2023-03-30 13:19:22  0.00B 
/bin/sh -c #(nop)  STOPSIGNAL SIGINT
                        
# 2023-03-30 13:19:22  0.00B 
/bin/sh -c #(nop)  ENTRYPOINT ["docker-entrypoint.sh"]
                        
# 2023-03-30 13:19:22  12.49KB 
/bin/sh -c #(nop) COPY file:e635913e9467265f505455bc3f08bed37d67ce6597a1f10365f8faf79f09b654 in /usr/local/bin/ 
                        
# 2023-03-30 13:19:22  0.00B 
/bin/sh -c #(nop)  VOLUME [/var/lib/postgresql/data]
                        
# 2023-03-30 13:19:22  0.00B 
/bin/sh -c mkdir -p "$PGDATA" && chown -R postgres:postgres "$PGDATA" && chmod 1777 "$PGDATA"
                        
# 2023-03-30 13:19:22  0.00B 
/bin/sh -c #(nop)  ENV PGDATA=/var/lib/postgresql/data
                        
# 2023-03-30 13:19:21  0.00B 
/bin/sh -c mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 3777 /var/run/postgresql
                        
# 2023-03-30 13:19:21  58.77KB 
/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-03-30 13:19:20  233.94MB 
/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 		krb5-dev 		libc-dev 		libedit-dev 		libxml2-dev 		libxslt-dev 		linux-headers 		llvm-dev clang g++ 		make 		openldap-dev 		openssl-dev 		perl-dev 		perl-ipc-run 		perl-utils 		python3-dev 		tcl-dev 		util-linux-dev 		zlib-dev 		icu-dev 		lz4-dev 		zstd-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-krb5 		--with-gssapi 		--with-ldap 		--with-tcl 		--with-perl 		--with-python 		--with-openssl 		--with-libxml 		--with-libxslt 		--with-icu 		--with-llvm 		--with-lz4 		--with-zstd 	; 	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-03-30 13:17:21  0.00B 
/bin/sh -c #(nop)  ENV PG_SHA256=99a2171fc3d6b5b5f56b757a7a3cb85d509a38e4273805def23941ed2b8468c7
                        
# 2023-03-30 13:17:21  0.00B 
/bin/sh -c #(nop)  ENV PG_VERSION=15.2
                        
# 2023-03-30 13:17:21  0.00B 
/bin/sh -c #(nop)  ENV PG_MAJOR=15
                        
# 2023-03-30 13:17:21  0.00B 
/bin/sh -c mkdir /docker-entrypoint-initdb.d
                        
# 2023-03-30 13:17:20  0.00B 
/bin/sh -c #(nop)  ENV LANG=en_US.utf8
                        
# 2023-03-30 13:17:20  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-03-30 01:39:18  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/sh"]
                        
# 2023-03-30 01:39:18  7.46MB 
/bin/sh -c #(nop) ADD file:e51d4089e73ad6dee52b31f0c8059a00c17df6e23f6741fe11b43bd84cc99008 in / 
                        
                    

镜像信息

{
    "Id": "sha256:d9d449b64180c58414326ad6f6e8650d50a0830c350c23f3607ee97594a93ddb",
    "RepoTags": [
        "postgres:15.2-alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres:15.2-alpine-linuxarm64"
    ],
    "RepoDigests": [
        "postgres@sha256:d9c304353c031b21e9a7e33dc4781e272a9fa802a2ab9703fe4199d72ba1422c",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/postgres@sha256:12cbba911ab20aff0594c832f0639f71bb2b6a6d5ea72adc91f3eafe7c152afd"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2023-03-30T05:19:22.93486772Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.23",
    "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=15",
            "PG_VERSION=15.2",
            "PG_SHA256=99a2171fc3d6b5b5f56b757a7a3cb85d509a38e4273805def23941ed2b8468c7",
            "PGDATA=/var/lib/postgresql/data"
        ],
        "Cmd": [
            "postgres"
        ],
        "Image": "sha256:0802fbe733d4d3f07f9100f1937c8eed06e96ff8876b4ef9763b1193ab7f4a2a",
        "Volumes": {
            "/var/lib/postgresql/data": {}
        },
        "WorkingDir": "",
        "Entrypoint": [
            "docker-entrypoint.sh"
        ],
        "OnBuild": null,
        "Labels": null,
        "StopSignal": "SIGINT"
    },
    "Architecture": "arm64",
    "Variant": "v8",
    "Os": "linux",
    "Size": 241474750,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/2bae1576064b6b8e972e3255aa40d972f9c7791ddf73af909ae1cbf926c06a34/diff:/var/lib/docker/overlay2/2e626cd128967941630a8b9cf14ad3ab9e3a71e380387db8aacd0bcd4bd0d0e7/diff:/var/lib/docker/overlay2/7959510c6da11a22c6a956a72d99445f99e51080d7b0ea86f960fe70803a5c91/diff:/var/lib/docker/overlay2/f3ca982d033792902977885aa3b4559485755a2d4f973b94f9c49ab0e2d17cbd/diff:/var/lib/docker/overlay2/af0f2f1b1e5026b2950e61d851a8fb5afae60654e02077c41c3e885e41136920/diff:/var/lib/docker/overlay2/a8b0198c647a95590fcdc5e2623db43c087f5c7e63f216ef840e3be8a29e13bb/diff:/var/lib/docker/overlay2/35f6c19d10684cbadc92c09581c29512f99b7dc6c114a74c4f0be3e513d49428/diff",
            "MergedDir": "/var/lib/docker/overlay2/9ba6e308ebb4152b42c9500b54d296a82b226b507c7787f71422e063017ca9b7/merged",
            "UpperDir": "/var/lib/docker/overlay2/9ba6e308ebb4152b42c9500b54d296a82b226b507c7787f71422e063017ca9b7/diff",
            "WorkDir": "/var/lib/docker/overlay2/9ba6e308ebb4152b42c9500b54d296a82b226b507c7787f71422e063017ca9b7/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:26cbea5cba74143fbe6f584f5fc5321543155aedc4a434fcaa63b643877b5a74",
            "sha256:39cc9f07e9f44bea6492d7e7ab5ad681065915d47b49c357820ddb947ad1500b",
            "sha256:12eb633c2e33c55fab492f541e005b2135936ea3b217627227a807db9d4e0e5c",
            "sha256:c636b8f04cc8619865906a2f7f6d54f6fcf8f2e2315c70088ebf532fae7505e6",
            "sha256:6f141bc963bc6c08d1605fe92983ead0583036da2ee7dc8b8360a858e4ca0ca8",
            "sha256:d4aebf2cee1a2d8618eb775090ece641cfe8e853a10afae63b13b0222724e973",
            "sha256:fb6f20bb13924720dc356037c2085be6be1319811fb270657a2d9bc29140eaa2",
            "sha256:28d988a5383525e7a42898515d8e27aae0a969ee4e424a63a260badaed812480"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-04-27T09:20:46.524274262+08:00"
    }
}

更多版本

docker.io/postgres:12.19-bullseye

linux/amd64 docker.io386.93MB2024-06-16 13:12
492

docker.io/postgres:15-alpine

linux/amd64 docker.io248.31MB2024-06-19 17:31
2836

docker.io/postgres:12.19-alpine3.20

linux/amd64 docker.io236.26MB2024-06-28 17:32
307

docker.io/postgres:16.3-alpine3.20

linux/amd64 docker.io244.93MB2024-06-28 17:32
658

docker.io/postgres:14-alpine

linux/amd64 docker.io241.40MB2024-07-03 23:43
555

docker.io/postgres:15-alpine

linux/arm64 docker.io250.04MB2024-07-08 15:04
1510

docker.io/postgres:15.4

linux/amd64 docker.io410.61MB2024-07-18 12:35
1095

docker.io/postgres:9.6.21-alpine

linux/arm64 docker.io35.93MB2024-07-24 11:50
366

docker.io/postgres:13.8

linux/arm64 docker.io354.23MB2024-07-24 23:02
441

docker.io/postgres:16

linux/amd64 docker.io431.58MB2024-07-26 18:25
855

docker.io/postgres:9.6.24

linux/amd64 docker.io199.69MB2024-08-01 16:37
610

docker.io/postgres:15.3

linux/arm64 docker.io433.16MB2024-08-01 16:55
441

docker.io/postgres:16.3

linux/amd64 docker.io431.58MB2024-08-02 14:29
391

docker.io/postgres:16.3-bookworm

linux/amd64 docker.io431.58MB2024-08-08 17:41
254

docker.io/postgres:14.2-alpine

linux/amd64 docker.io210.71MB2024-08-15 15:18
352

docker.io/postgres:16.4

linux/amd64 docker.io431.68MB2024-08-27 17:28
676

docker.io/postgres:12.2

linux/amd64 docker.io313.75MB2024-09-13 17:25
324

docker.io/postgres:17

linux/amd64 docker.io434.31MB2024-10-01 13:14
699

docker.io/postgres:17-alpine

linux/amd64 docker.io248.16MB2024-10-03 21:57
540

docker.io/postgres:14.12

linux/amd64 docker.io421.93MB2024-10-14 14:43
350

docker.io/postgres:13.14

linux/amd64 docker.io419.14MB2024-10-15 10:01
465

docker.io/postgres:10-alpine

linux/amd64 docker.io79.09MB2024-10-15 20:03
358

docker.io/postgres:alpine

linux/amd64 docker.io248.16MB2024-10-24 11:56
558

docker.io/postgres:14.7-alpine3.17

linux/amd64 docker.io241.71MB2024-10-29 17:41
373

docker.io/postgres:14.11

linux/amd64 docker.io421.97MB2024-11-05 19:40
174

docker.io/postgres:12.3

linux/amd64 docker.io313.02MB2024-11-07 08:48
193

docker.io/postgres:12

linux/amd64 docker.io418.59MB2024-11-09 11:00
172

docker.io/postgres:9.5

linux/amd64 docker.io197.21MB2024-11-22 11:45
170

docker.io/postgres:11

linux/amd64 docker.io284.46MB2024-11-27 14:14
165

docker.io/postgres:16-alpine

linux/amd64 docker.io250.73MB2024-12-03 21:04
287

docker.io/postgres:9.6.16

linux/amd64 docker.io249.61MB2024-12-04 12:56
192

docker.io/postgres:12.4

linux/arm64 docker.io299.56MB2024-12-19 18:46
149

docker.io/postgres:17.2

linux/amd64 docker.io434.77MB2024-12-19 19:20
311

docker.io/postgrest/postgrest:v12.0.1

linux/amd64 docker.io17.42MB2024-12-24 10:07
318

docker.io/postgres:16.6-alpine3.21

linux/amd64 docker.io274.85MB2024-12-30 14:08
175

docker.io/postgres:15.6

linux/amd64 docker.io425.45MB2025-01-03 13:48
190

docker.io/postgres:13-alpine

linux/amd64 docker.io267.85MB2025-01-03 14:51
156

docker.io/postgres:17.2-alpine3.21

linux/amd64 docker.io277.63MB2025-01-07 14:18
178

docker.io/postgres:11.4

linux/amd64 docker.io312.47MB2025-01-20 14:59
113

docker.io/postgres:14

linux/arm64 docker.io444.02MB2025-01-27 12:55
151

docker.io/postgres:17

linux/arm64 docker.io456.53MB2025-01-27 18:45
245

docker.io/postgres:14.15

linux/amd64 docker.io422.30MB2025-02-04 11:33
139

docker.io/postgres:16.6-bookworm

linux/amd64 docker.io432.28MB2025-02-13 17:57
98

docker.io/postgres:17.2-bookworm

linux/amd64 docker.io434.73MB2025-02-13 18:00
122

docker.io/postgres:17.3-alpine

linux/amd64 docker.io284.35MB2025-02-14 10:44
171

docker.io/postgres:16.4-bullseye

linux/amd64 docker.io400.01MB2025-02-14 11:10
114

docker.io/postgres:15-bullseye

linux/amd64 docker.io418.13MB2025-02-26 16:42
120

docker.io/postgres:15.3

linux/amd64 docker.io411.84MB2025-03-03 11:27
69

docker.io/postgres:15.3-alpine

linux/amd64 docker.io236.75MB2025-03-03 11:32
87

docker.io/postgres:14.17-bookworm

linux/amd64 docker.io426.07MB2025-03-04 10:33
120

docker.io/postgres:13.17

linux/amd64 docker.io419.45MB2025-03-10 16:32
99

docker.io/postgres:13.20

linux/amd64 docker.io423.33MB2025-03-11 17:26
93

docker.io/postgres:15.6

linux/arm64 docker.io447.23MB2025-03-13 15:13
101

docker.io/postgres:16.3-bullseye

linux/amd64 docker.io399.85MB2025-03-13 15:49
70

docker.io/postgres:15.12

linux/amd64 docker.io429.51MB2025-03-17 11:09
81

docker.io/postgres:15.2-alpine

linux/amd64 docker.io243.09MB2025-03-19 10:17
111

docker.io/postgres:15.6-bookworm

linux/arm64 docker.io447.23MB2025-03-19 14:48
96

docker.io/postgres:15.6-bookworm

linux/amd64 docker.io425.45MB2025-03-20 15:17
67

docker.io/postgres:11.22-alpine

linux/amd64 docker.io231.90MB2025-03-20 17:24
108

docker.io/postgres:17.4

linux/amd64 docker.io438.36MB2025-03-26 11:02
216

docker.io/postgres:latest

linux/amd64 docker.io438.36MB2025-03-26 14:07
224

docker.io/postgres:13

linux/amd64 docker.io423.34MB2025-03-29 23:54
78

docker.io/postgrest/postgrest:v12.2.8

linux/amd64 docker.io17.34MB2025-04-04 13:14
158

docker.io/postgres:14.5

linux/arm64 docker.io357.18MB2025-04-08 20:02
42

docker.io/postgrest/postgrest:latest

linux/amd64 docker.io17.36MB2025-04-17 08:28
49

docker.io/postgres:16.8

linux/amd64 docker.io435.96MB2025-04-18 13:40
59

docker.io/postgres:12.11

linux/amd64 docker.io372.64MB2025-04-18 17:35
51

docker.io/postgres:16.1

linux/amd64 docker.io425.16MB2025-04-19 14:27
65

docker.io/postgres:11.9

linux/amd64 docker.io282.36MB2025-04-24 17:11
36

docker.io/postgres:14.1-bullseye

linux/amd64 docker.io374.04MB2025-04-25 12:40
44

docker.io/postgres:15.2-alpine

linux/arm64 docker.io241.47MB2025-04-27 09:20
28

docker.io/postgrest/postgrest:v12.2.11

linux/amd64 docker.io17.35MB2025-04-28 13:15
49

docker.io/postgres:10.23-alpine3.16

linux/amd64 docker.io79.09MB2025-05-09 03:15
27